diff --git a/indra/newview/llstatusbar.cpp b/indra/newview/llstatusbar.cpp index 9e9bdac771..9868606b22 100644 --- a/indra/newview/llstatusbar.cpp +++ b/indra/newview/llstatusbar.cpp @@ -488,14 +488,6 @@ BOOL LLStatusBar::postBuild() gSavedSettings.getControl("FSMenuSearch")->getCommitSignal()->connect(boost::bind(&LLStatusBar::updateMenuSearchVisibility, this, _2)); // - // Option to hide volume controls (sounds, media, stream) in upper right - mVolumeIconsWidth = mBtnVolume->getRect().mRight - mStreamToggle->getRect().mLeft; - if (!gSavedSettings.getBOOL("FSEnableVolumeControls")) - { - updateVolumeControlsVisibility(LLSD(FALSE)); - } - // - // FIRE-14482: Show FPS in status bar mFPSText = getChild("FPSText"); gSavedSettings.getControl("FSStatusBarShowFPS")->getSignal()->connect(boost::bind(&LLStatusBar::onShowFPSChanged, this, _2)); @@ -505,6 +497,14 @@ BOOL LLStatusBar::postBuild() } // + // Option to hide volume controls (sounds, media, stream) in upper right + mVolumeIconsWidth = mBtnVolume->getRect().mRight - mStreamToggle->getRect().mLeft; + if (!gSavedSettings.getBOOL("FSEnableVolumeControls")) + { + updateVolumeControlsVisibility(LLSD(FALSE)); + } + // + return TRUE; }