FIRE-8367: Debug settings search doesn't properly filter

Ansariel 2014-01-16 19:03:44 +01:00
parent c08f181866
commit ce565580af
1 changed files with 4 additions and 1 deletions

View File

@ -122,8 +122,11 @@ void LLFloaterSettingsDebug::onUpdateFilter()
// if at least one match was found, highlight and select the topmost entry in the list
// but only if actually a search term was given
if(mSettingsScrollList->getItemCount() && !searchTerm.empty())
if (mSettingsScrollList->getItemCount() && !searchTerm.empty())
{
mSettingsScrollList->sortByColumnIndex(0, TRUE);
mSettingsScrollList->selectFirstItem();
}
onSettingSelect();
}