summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorleviathan <leviathan@lindenlab.com>2024-07-17 15:25:22 -0700
committerAndrew Meadows <andrew.l.meadows@gmail.com>2024-10-03 09:03:31 -0700
commit59ed92522f7b72731911825a831bab559f0c1c8b (patch)
tree1d8642c8169f9e1641e7b497e070873657f265f8 /indra/newview/llviewermenu.cpp
parente74ce9655ed9f1124887aa31aa2e2155ea62d3da (diff)
even more correct GameControl feature-flag switch
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index a6614542b8..39aa85beea 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -72,6 +72,7 @@
#include "llfloaterpathfindingcharacters.h"
#include "llfloaterpathfindinglinksets.h"
#include "llfloaterpay.h"
+#include "llfloaterpreference.h"
#include "llfloaterreporter.h"
#include "llfloatersearch.h"
#include "llfloaterscriptdebug.h"
@@ -965,6 +966,7 @@ class LLAdvancedToggleExperiment : public view_listener_t
if (feature == "GameControl")
{
LLGameControl::setEnabled(! LLGameControl::isEnabled());
+ LLFloaterPreference::refreshInstance();
return true;
}
return false;