summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerinventory.cpp
diff options
context:
space:
mode:
authorLeslie Linden <leslie@lindenlab.com>2011-04-19 11:16:37 -0700
committerLeslie Linden <leslie@lindenlab.com>2011-04-19 11:16:37 -0700
commitfbf886b7cc379bb4b9e409923b658af0b5c8fdef (patch)
tree9e9220e8f28b1324453b1ff3fa19ec8fd6d1f918 /indra/newview/llviewerinventory.cpp
parent64d20b8b745c184464c2a2f0795aeff0124ea3c5 (diff)
parent99acd15974e34af82bec891a5d67b2d891ab82ea (diff)
Merge
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
-rw-r--r--indra/newview/llviewerinventory.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp
index 519514d99c..68011ebf07 100644
--- a/indra/newview/llviewerinventory.cpp
+++ b/indra/newview/llviewerinventory.cpp
@@ -183,6 +183,12 @@ public:
return false;
}
+ if (!LLUI::sSettingGroups["config"]->getBOOL("EnableInventory"))
+ {
+ LLNotificationsUtil::add("NoInventory", LLSD(), LLSD(), std::string("SwitchToStandardSkinAndQuit"));
+ return true;
+ }
+
// support secondlife:///app/inventory/show
if (params[0].asString() == "show")
{