diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-06-18 19:11:33 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-06-18 20:15:51 +0300 |
commit | da5cc13df2d3cff17cb6afb586da278709e9d40a (patch) | |
tree | c0ae3d9c7c13d3d3afd1d3478140d009a73144fd /indra/newview | |
parent | 9a36c1ac2183f07420fb92627f80febf9fd8c2af (diff) |
SL-15410 Menu search breaks torn off menus
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llsearchableui.cpp | 7 |
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; + } } } |