From: Andrea Zagli Date: Sun, 8 May 2011 09:35:57 +0000 (+0200) Subject: Bugfix. X-Git-Tag: 0.5.0~41 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=3e18fd430ec9c223599e9721d4a6523758280256;p=libgdaex Bugfix. --- 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), ""); + } } }