- Fix quickfilter not working when pressing backspace or delete in the empty

textentry (thanks Ruediger Meier for spotting this one).


git-svn-id: http://svn.code.sf.net/p/xqf/code/trunk@651 d2ac09be-c843-0410-8b1f-f8a84130e0ec
This commit is contained in:
Ludwig Nussel 2004-08-16 20:13:21 +00:00 committed by l-n
parent 4b355c7aa8
commit 86f19c2d12
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Aug 16, 2004: Ludwig Nussel <l-n@users.sourceforge.net>
- Fix quickfilter not working when pressing backspace or delete in the empty
textentry (thanks Ruediger Meier for spotting this one).
Aug 15, 2004: Ludwig Nussel <l-n@users.sourceforge.net>
- Fix compile with gcc 2.95 (patch by Thomas Zajic)
- Fix --add when one server without type is specified whose port matches

View File

@ -3250,9 +3250,14 @@ static void quick_filter_entry_changed(GtkWidget* entry, gpointer data)
const char* text = gtk_entry_get_text(GTK_ENTRY(entry));
int mask = 0;
debug(3,"%d <%s>", strlen(text), text);
if(!text || !*text)
{
mask = FILTER_QUICK_MASK;
if(filter_quick_get())
{
mask = FILTER_QUICK_MASK;
}
filter_quick_set(NULL);
}
else