summaryrefslogtreecommitdiffstats
path: root/tdeui
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui')
-rw-r--r--tdeui/kiconviewsearchline.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tdeui/kiconviewsearchline.cpp b/tdeui/kiconviewsearchline.cpp
index 7082fc910..b319fc8ac 100644
--- a/tdeui/kiconviewsearchline.cpp
+++ b/tdeui/kiconviewsearchline.cpp
@@ -127,6 +127,9 @@ void TDEIconViewSearchLine::updateSearch( const TQString &s )
void TDEIconViewSearchLine::clear()
{
+ if( ! d->iconView )
+ return; // disabled
+
// Clear hidden list, give items back to TQIconView, if it still exists
TQIconViewItem *item = NULL;