Commit f60f76b8 authored by Testicular Slingshot's avatar Testicular Slingshot
Browse files

Fixed bug introduced by commit cd859cd9 where searching preferences didn't...

Fixed bug introduced by commit cd859cd9 where searching preferences didn't reset highlights on certain panels.
parent ae76ad7c
......@@ -70,12 +70,7 @@ bool ll::prefs::PanelData::highlightAndHide( LLWString const &aFilter )
for (auto& itr : mChildren)
itr->setNotHighlighted();
if (aFilter.empty())
{
return true;
}
bool bVisible(false);
bool bVisible(mChildren.size() == 0 && aFilter.empty());
for (auto& itr : mChildren)
bVisible |= itr->highlightAndHide(aFilter);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment