[PATCH] qconf: fix showing help info on failed search
authorCyrill V. Gorcunov <[email protected]>
Wed, 14 Feb 2007 08:32:59 +0000 (00:32 -0800)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Cc: Roman Zippel <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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)