summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-08-06 22:34:28 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-08-07 00:34:12 +0300
commit93a66b47645755d8811d3420f772c1a606b53d40 (patch)
treebb740709b7d7df5379823703cb9123ef6dd11287 /indra
parent6459a3c5aaa94053ffe667da9268efc4f2bd3e46 (diff)
#4470 Hide discord panel when set to build without discord
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterpreference.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index fff005872c..9fb9c6346e 100644
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -529,7 +529,8 @@ bool LLFloaterPreference::postBuild()
}
#ifndef LL_DISCORD
- getChild<LLTabContainer>("privacy_tab_container")->childDisable("privacy_preferences_discord");
+ LLPanel* panel = getChild<LLPanel>("privacy_preferences_discord");
+ getChild<LLTabContainer>("privacy_tab_container")->removeTabPanel(panel);
#endif
return true;