[PATCH] qconf: fix showing help info on failed search
authorCyrill V. Gorcunov <gorcunov@gmail.com>
Wed, 14 Feb 2007 08:32:59 +0000 (00:32 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:52 +0000 (08:09 -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 83a270347c258d95b0cd35c55ea4a37f04c8d2b3..99124458dbd5c9ce7efe46be483c44574e96fb0f 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)