[PATCH] qconf: fix showing help info on failed search

From: Cyrill V. Gorcunov
Date: Fri Jan 12 2007 - 11:41:19 EST


qconf does not clear help text in search window
if previous search has been failed.

Signed-off-by: Cyrill V. Gorcunov <gorcunov@xxxxxxx>

---

diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index c0ae0a7..f9a63a4 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -1247,6 +1247,7 @@ void ConfigSearchWindow::search(void)

free(result);
list->list->clear();
+ info->clear();

result = sym_re_search(editField->text().latin1());
if (!result)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/