diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-08-06 22:34:28 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-08-07 00:34:12 +0300 |
commit | 93a66b47645755d8811d3420f772c1a606b53d40 (patch) | |
tree | bb740709b7d7df5379823703cb9123ef6dd11287 | |
parent | 6459a3c5aaa94053ffe667da9268efc4f2bd3e46 (diff) |
#4470 Hide discord panel when set to build without discord
-rw-r--r-- | indra/newview/llfloaterpreference.cpp | 3 |
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; |