[PATCH] qconf: fix showing help info on failed search
Cyrill V. Gorcunov [Wed, 14 Feb 2007 08:32:59 +0000 (00:32 -0800)]
qconf does not clear help text in search window if previous search has been
failed.

Signed-off-by: Cyrill V. Gorcunov <gorcunov@mail.ru>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

scripts/kconfig/qconf.cc

index 83a2703..9912445 100644 (file)
@@ -1248,6 +1248,7 @@ void ConfigSearchWindow::search(void)
 
        free(result);
        list->list->clear();
+       info->clear();
 
        result = sym_re_search(editField->text().latin1());
        if (!result)