summaryrefslogtreecommitdiff
path: root/indra/newview/llgroupactions.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2011-03-16 14:54:56 -0400
committerLoren Shih <seraph@lindenlab.com>2011-03-16 14:54:56 -0400
commit037a83cd47e016f70092bccfdb2c13e759c6ff0a (patch)
tree2183c8ef1364d5f4e784cb91ea4d67b1861b2452 /indra/newview/llgroupactions.cpp
parent15b0509c01dbeec6854f4a0a5965e900eda06de1 (diff)
parent742dd75751f65224d80eb4f7d20daf5a21776c5f (diff)
Automated merge up from viewer-development into mesh-development
Diffstat (limited to 'indra/newview/llgroupactions.cpp')
-rw-r--r--indra/newview/llgroupactions.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llgroupactions.cpp b/indra/newview/llgroupactions.cpp
index 5393678a6b..7c56e610ce 100644
--- a/indra/newview/llgroupactions.cpp
+++ b/indra/newview/llgroupactions.cpp
@@ -53,6 +53,12 @@ public:
bool handle(const LLSD& tokens, const LLSD& query_map,
LLMediaCtrl* web)
{
+ if (!LLUI::sSettingGroups["config"]->getBOOL("EnableGroupInfo"))
+ {
+ LLNotificationsUtil::add("NoGroupInfo", LLSD(), LLSD(), std::string("SwitchToStandardSkinAndQuit"));
+ return true;
+ }
+
if (tokens.size() < 1)
{
return false;