diff options
author | Oz Linden <oz@lindenlab.com> | 2012-01-08 10:48:26 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-01-08 10:48:26 -0500 |
commit | 3763386987bd7ab42438a1f1bdf3a78283bcbf51 (patch) | |
tree | b45814d100958d0adb07100440888c56200a5a9a /indra/newview/llviewerwindow.cpp | |
parent | 66555b844dfcdb1bbbab472967a90060c5d0838f (diff) | |
parent | 757a955bd700eb4f838762dcbe789a77ee052064 (diff) |
merge changes for vmrg-213
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 31dfa1923c..b73be4ed43 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -130,6 +130,7 @@ #include "llmorphview.h" #include "llmoveview.h" #include "llnavigationbar.h" +#include "llpaneltopinfobar.h" #include "llpopupview.h" #include "llpreviewtexture.h" #include "llprogressview.h" @@ -5001,8 +5002,8 @@ void LLViewerWindow::setUIVisibility(bool visible) gToolBarView->setToolBarsVisible(visible); } - mRootView->getChildView("topinfo_bar_container")->setVisible(visible); - mRootView->getChildView("nav_bar_container")->setVisible(visible); + LLNavigationBar::getInstance()->setVisible(visible ? gSavedSettings.getBOOL("ShowNavbarNavigationPanel") : FALSE); + LLPanelTopInfoBar::getInstance()->setVisible(visible? gSavedSettings.getBOOL("ShowMiniLocationPanel") : FALSE); mRootView->getChildView("status_bar_container")->setVisible(visible); } |