summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-29 23:16:25 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-29 23:16:25 +0800
commit4740db4a9935e4cc234342b9c19323afca03ae52 (patch)
tree9b9a018b217983b3d2ced1351eca22f8a1d4fbb2
parentea26a6a86279aa8ca4000e866e7b45a4a34d7354 (diff)
Make it possible for external TOS to be agreed to
The line that enables it in when on external TOS was only present in a similar scope which doesn't seem to be reachable. It must have been missed when the condition checking was moved.
-rw-r--r--indra/newview/llfloatertos.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloatertos.cpp b/indra/newview/llfloatertos.cpp
index 1aeb727172..189f5297a9 100644
--- a/indra/newview/llfloatertos.cpp
+++ b/indra/newview/llfloatertos.cpp
@@ -96,6 +96,8 @@ BOOL LLFloaterTOS::postBuild()
external_prompt->setVisible(true);
web_browser->setVisible(false);
+
+ updateAgreeEnabled(true);
#else
web_browser->addObserver(this);