From: Cyrill V. Gorcunov Date: Wed, 14 Feb 2007 08:32:59 +0000 (-0800) Subject: [PATCH] qconf: fix showing help info on failed search X-Git-Tag: v2.6.21-rc1~266 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=786fb18d015cc5f34284d426e055ddd7a3dbb53b;p=linux-2.6 [PATCH] qconf: fix showing help info on failed search qconf does not clear help text in search window if previous search has been failed. Signed-off-by: Cyrill V. Gorcunov Cc: Roman Zippel Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 83a270347c..99124458db 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -1248,6 +1248,7 @@ void ConfigSearchWindow::search(void) free(result); list->list->clear(); + info->clear(); result = sym_re_search(editField->text().latin1()); if (!result)