diff options
author | Aimee Linden <aimee@lindenlab.com> | 2010-06-21 13:45:12 +0100 |
---|---|---|
committer | Aimee Linden <aimee@lindenlab.com> | 2010-06-21 13:45:12 +0100 |
commit | a069e0d3db0e0771e54768a702fa18e57415992e (patch) | |
tree | 0216de28c44dd31278fcd47c09b8cc54c2891c7b /indra/newview/llviewercontrol.cpp | |
parent | c0129e4b11455a05a94300e1649cf3edaaf824aa (diff) | |
parent | b12c98e48ce44df907c7477e1c21061778459496 (diff) |
Merge
Diffstat (limited to 'indra/newview/llviewercontrol.cpp')
-rw-r--r-- | indra/newview/llviewercontrol.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp index f4b4954cbd..f2c9fbf78d 100644 --- a/indra/newview/llviewercontrol.cpp +++ b/indra/newview/llviewercontrol.cpp @@ -462,7 +462,11 @@ bool toggle_agent_pause(const LLSD& newvalue) bool toggle_show_navigation_panel(const LLSD& newvalue) { - LLNavigationBar::getInstance()->showNavigationPanel(newvalue.asBoolean()); + bool value = newvalue.asBoolean(); + + LLNavigationBar::getInstance()->showNavigationPanel(value); + gSavedSettings.setBOOL("ShowMiniLocationPanel", !value); + return true; } @@ -474,7 +478,11 @@ bool toggle_show_favorites_panel(const LLSD& newvalue) bool toggle_show_mini_location_panel(const LLSD& newvalue) { - LLPanelTopInfoBar::getInstance()->setVisible(newvalue.asBoolean()); + bool value = newvalue.asBoolean(); + + LLPanelTopInfoBar::getInstance()->setVisible(value); + gSavedSettings.setBOOL("ShowNavbarNavigationPanel", !value); + return true; } |