summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-07-26 21:10:01 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-07-26 21:10:01 +0300
commitb1b102cf662b9deb00c6231ca335fcf46b86034c (patch)
tree5a2fd47bb76faaf131514d6683606567f765471b /indra/newview/llviewerwindow.cpp
parente047bb09ba7958d82c302cc0e6dcf915e1f51fc9 (diff)
SL-8380 Ability to disable 2D UI tooltips
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 9afe85a6f5..7f3e1faa33 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -3367,7 +3367,8 @@ void LLViewerWindow::updateUI()
LLRect screen_sticky_rect = mRootView->getLocalRect();
S32 local_x, local_y;
- if (gSavedSettings.getBOOL("DebugShowXUINames"))
+ static LLCachedControl<bool> debug_show_xui_names(gSavedSettings, "DebugShowXUINames", 0);
+ if (debug_show_xui_names)
{
LLToolTip::Params params;