summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2019-02-25 20:30:38 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2019-02-25 20:30:38 +0200
commit7953162907ed35d57e79b2b71c2093ae1f758c98 (patch)
tree374c1eec06505301b0bcdfb084502fd1c896993b
parentb3e4a3177353971a62d9d2509466ca25d9a6d4bd (diff)
SL-10614 FIXED Don't hide the tear-off menu items when filtering
-rw-r--r--indra/newview/llsearchableui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llsearchableui.cpp b/indra/newview/llsearchableui.cpp
index de90896548..cfe93a777e 100644
--- a/indra/newview/llsearchableui.cpp
+++ b/indra/newview/llsearchableui.cpp
@@ -127,7 +127,7 @@ void ll::statusbar::SearchableItem::setNotHighlighted( )
bool ll::statusbar::SearchableItem::hightlightAndHide( LLWString const &aFilter )
{
- if( mMenu && !mMenu->getVisible() && !mWasHiddenBySearch )
+ if ((mMenu && !mMenu->getVisible() && !mWasHiddenBySearch) || dynamic_cast<LLMenuItemTearOffGL*>(mMenu))
return false;
setNotHighlighted( );