summaryrefslogtreecommitdiff
path: root/indra/newview/llstatusbar.cpp
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2019-01-14 13:50:28 +0200
committermaxim_productengine <mnikolenko@productengine.com>2019-01-14 13:50:28 +0200
commit127ed9c67809b5ad169fbc971e800c7744363c57 (patch)
treeeb1bc24ab94c585415e4121f72687690182da9cc /indra/newview/llstatusbar.cpp
parent9c8584a3a7562810c83dd5e2d02e42e6d6870d96 (diff)
SL-10352 FIXED 'Search menus' disappears after entering and exiting mouselook view
Diffstat (limited to 'indra/newview/llstatusbar.cpp')
-rw-r--r--indra/newview/llstatusbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llstatusbar.cpp b/indra/newview/llstatusbar.cpp
index b893e4a058..f3c270a97b 100644
--- a/indra/newview/llstatusbar.cpp
+++ b/indra/newview/llstatusbar.cpp
@@ -247,11 +247,11 @@ BOOL LLStatusBar::postBuild()
mFilterEdit = getChild<LLSearchEditor>( "search_menu_edit" );
mSearchPanel = getChild<LLPanel>( "menu_search_panel" );
- //mSearchPanel->setVisible(gSavedSettings.getBOOL("MenuSearch"));
+ mSearchPanel->setVisible(gSavedSettings.getBOOL("MenuSearch"));
mFilterEdit->setKeystrokeCallback(boost::bind(&LLStatusBar::onUpdateFilterTerm, this));
mFilterEdit->setCommitCallback(boost::bind(&LLStatusBar::onUpdateFilterTerm, this));
collectSearchableItems();
- //gSavedSettings.getControl("MenuSearch")->getCommitSignal()->connect(boost::bind(&LLStatusBar::updateMenuSearchVisibility, this, _2));
+ gSavedSettings.getControl("MenuSearch")->getCommitSignal()->connect(boost::bind(&LLStatusBar::updateMenuSearchVisibility, this, _2));
return TRUE;
}