diff options
author | Slávek Banko <[email protected]> | 2012-07-07 19:38:19 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-07-07 19:38:19 +0200 |
commit | 0afb2d8a78d212568f6836dd0e7d41382cfb991d (patch) | |
tree | 9f31cd1b4f4345bf0fb5b954dfd22ea9b98d133e | |
parent | 3c152dcd9b0f62c878a1a56150fcbed404adb44c (diff) | |
download | tdebase-0afb2d8a78d212568f6836dd0e7d41382cfb991d.tar.gz tdebase-0afb2d8a78d212568f6836dd0e7d41382cfb991d.zip |
Fix menu crash with disabled search field
This resolves Bug 1081
-rw-r--r-- | kicker/kicker/ui/k_mnu.cpp | 2 |
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")); |