summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-06-18 19:11:33 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-06-18 20:15:51 +0300
commitda5cc13df2d3cff17cb6afb586da278709e9d40a (patch)
treec0ae3d9c7c13d3d3afd1d3478140d009a73144fd /indra/newview
parent9a36c1ac2183f07420fb92627f80febf9fd8c2af (diff)
SL-15410 Menu search breaks torn off menus
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llsearchableui.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llsearchableui.cpp b/indra/newview/llsearchableui.cpp
index 1119e80005..620bbdfcdf 100644
--- a/indra/newview/llsearchableui.cpp
+++ b/indra/newview/llsearchableui.cpp
@@ -132,8 +132,11 @@ void ll::statusbar::SearchableItem::setNotHighlighted( )
{
mCtrl->setHighlighted( false );
- if( mWasHiddenBySearch )
- mMenu->setVisible( TRUE );
+ if (mWasHiddenBySearch)
+ {
+ mMenu->setVisible(TRUE);
+ mWasHiddenBySearch = false;
+ }
}
}