diff --git a/indra/newview/llsearchableui.cpp b/indra/newview/llsearchableui.cpp
index 6058079ae46b6f47d0b79e8b18a7e0a0c564a457..de90896548b12fe008cf442f1b140e1d35e9c844 100644
--- a/indra/newview/llsearchableui.cpp
+++ b/indra/newview/llsearchableui.cpp
@@ -70,6 +70,11 @@ bool ll::prefs::PanelData::hightlightAndHide( LLWString const &aFilter )
 	for( tSearchableItemList::iterator itr = mChildren.begin(); itr  != mChildren.end(); ++itr )
 		(*itr)->setNotHighlighted( );
 
+	if (aFilter.empty())
+	{
+		return true;
+	}
+
 	bool bVisible(false);
 	for( tSearchableItemList::iterator itr = mChildren.begin(); itr  != mChildren.end(); ++itr )
 		bVisible |= (*itr)->hightlightAndHide( aFilter );