From 3e18fd430ec9c223599e9721d4a6523758280256 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sun, 8 May 2011 11:35:57 +0200 Subject: [PATCH] Bugfix. --- src/queryeditor.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/queryeditor.c b/src/queryeditor.c index a143371..39607ea 100644 --- a/src/queryeditor.c +++ b/src/queryeditor.c @@ -1612,6 +1612,11 @@ gdaex_query_editor_on_cb_where_type_changed (GtkComboBox *widget, gtk_widget_set_visible (priv->lbl_txt2, where_type == GDAEX_QE_WHERE_TYPE_BETWEEN); gtk_widget_set_visible (priv->txt2, where_type == GDAEX_QE_WHERE_TYPE_BETWEEN); + + if (where_type != GDAEX_QE_WHERE_TYPE_BETWEEN) + { + gtk_entry_set_text (GTK_ENTRY (priv->txt2), ""); + } } } -- 2.49.0