FIRE-23969: Fix broken preference search since last maint RC

meow-7.2.2
Ansariel 2019-05-09 21:47:31 +02:00
parent a75582f8fb
commit 37a1d8ef2e
1 changed files with 6 additions and 4 deletions

View File

@ -70,10 +70,12 @@ 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;
}
// <FS:Ansariel> FIRE-23969: This breaks prefs search - and isn't needed on FS
//if (aFilter.empty())
//{
// return true;
//}
// </FS:Ansariel>
bool bVisible(false);
for( tSearchableItemList::iterator itr = mChildren.begin(); itr != mChildren.end(); ++itr )