diff options
author | Rider Linden <rider@lindenlab.com> | 2015-12-18 14:10:02 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-12-18 14:10:02 -0800 |
commit | 909e4097433ab8e84a19e2119a9ecf05b3eebe64 (patch) | |
tree | fe11439e42d20f1f2eae81e772c68b0d9fdb2692 /indra/newview/llfloaterpreference.cpp | |
parent | b98469bd7db06973e6058118551e500dc094d3c0 (diff) | |
parent | 6dd80980cfa5be214c143d125cfabd006ea7ebff (diff) |
Merge
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
-rwxr-xr-x | indra/newview/llfloaterpreference.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index dac610eda1..f7861fb4fd 100755 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -108,6 +108,7 @@ #include "llpluginclassmedia.h" #include "llteleporthistorystorage.h" #include "llproxy.h" +#include "llweb.h" #include "lllogininstance.h" // to check if logged in yet #include "llsdserialize.h" @@ -1942,6 +1943,16 @@ BOOL LLPanelPreference::postBuild() gSavedSettings.getControl("ThrottleBandwidthKBPS")->getSignal()->connect(boost::bind(&LLPanelPreference::Updater::update, mBandWidthUpdater, _2)); } +#ifdef EXTERNAL_TOS + LLRadioGroup* ext_browser_settings = getChild<LLRadioGroup>("preferred_browser_behavior"); + if (ext_browser_settings) + { + // turn off ability to set external/internal browser + ext_browser_settings->setSelectedByValue(LLWeb::BROWSER_EXTERNAL_ONLY, true); + ext_browser_settings->setEnabled(false); + } +#endif + apply(); return true; } |