From 6bb65a4c6a4ccf86e658217ea1b9c383f9287f80 Mon Sep 17 00:00:00 2001 From: ziree Date: Mon, 2 Dec 2019 22:40:34 +0100 Subject: [PATCH] Make utility bar hide with all other UI parts when alt+shift+u is pressed - FIRE-29188 --- indra/newview/llviewerwindow.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index a0d1a62dd0..54ef236763 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -6770,6 +6770,14 @@ void LLViewerWindow::setUIVisibility(bool visible) //LLNavigationBar::getInstance()->setVisible(visible ? gSavedSettings.getBOOL("ShowNavbarNavigationPanel") : FALSE); LLPanelTopInfoBar::getInstance()->setVisible(visible? gSavedSettings.getBOOL("ShowMiniLocationPanel") : FALSE); mRootView->getChildView("status_bar_container")->setVisible(visible); + + // hide utility bar if we are on a skin that uses it, e.g. Vintage + LLView* utilityBarStack = mRootView->findChildView("chat_bar_utility_bar_stack"); + if (utilityBarStack) + { + utilityBarStack->setVisible(visible); + } + // } bool LLViewerWindow::getUIVisibility()