diff options
| -rw-r--r-- | indra/newview/app_settings/settings.xml | 11 | ||||
| -rw-r--r-- | indra/newview/llstatusbar.cpp | 4 | 
2 files changed, 13 insertions, 2 deletions
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 82087fbe5d..8f7c4601e8 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -11530,6 +11530,17 @@        <key>Value</key>        <integer>0</integer>      </map> +    <key>MenuSearch</key> +    <map> +      <key>Comment</key> +      <string>Show/hide 'Search menus' field</string> +      <key>Persist</key> +      <integer>1</integer> +      <key>Type</key> +      <string>Boolean</string> +      <key>Value</key> +      <integer>1</integer> +  </map>      <key>GroupListShowIcons</key>      <map>        <key>Comment</key> 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;  }  | 
