summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2019-01-09 10:57:15 +0200
committermaxim_productengine <mnikolenko@productengine.com>2019-01-09 10:57:15 +0200
commitcd859cd9e8a032d2d708788893654e5ceaadac09 (patch)
tree5bb46a880bfc98483d4db27e21a330c15c3b5557 /indra
parent3b9b6877a17a019af626c1d429fd7aaec05f40c4 (diff)
SL-10321 FIXED 'Uploads' tab is not displayed after any search in Preferences
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llsearchableui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llsearchableui.cpp b/indra/newview/llsearchableui.cpp
index 6058079ae4..de90896548 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 );