summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kicker/kicker/ui/k_mnu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kicker/kicker/ui/k_mnu.cpp b/kicker/kicker/ui/k_mnu.cpp
index b7cfe8f84..702c92173 100644
--- a/kicker/kicker/ui/k_mnu.cpp
+++ b/kicker/kicker/ui/k_mnu.cpp
@@ -273,6 +273,8 @@ void PanelKMenu::initialize()
connect(searchEdit, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT( slotUpdateSearch( const TQString&)));
insertItem(hbox, searchLineID, 0);
+ } else {
+ searchEdit = NULL;
}
//TQToolTip::add(clearButton, i18n("Clear Search"));