summaryrefslogtreecommitdiff
path: root/indra/llui/llfloaterreg.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2011-09-21 19:35:03 -0700
committerMerov Linden <merov@lindenlab.com>2011-09-21 19:35:03 -0700
commitf5a6204d21ba388bcaddd8e1d86382b0ff730955 (patch)
tree14469062da0efc2e6fcb7c9dd55c8769dadf3f06 /indra/llui/llfloaterreg.cpp
parent65892a01cad5d22403f36a10187af40b37b48383 (diff)
parentd0d87e450f408af14e0c3d5963645333d60e828b (diff)
EXP-1207 : pull from viewer-experience-fui
Diffstat (limited to 'indra/llui/llfloaterreg.cpp')
-rw-r--r--indra/llui/llfloaterreg.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llui/llfloaterreg.cpp b/indra/llui/llfloaterreg.cpp
index fc7dcfcc4e..bc740dde17 100644
--- a/indra/llui/llfloaterreg.cpp
+++ b/indra/llui/llfloaterreg.cpp
@@ -453,6 +453,17 @@ void LLFloaterReg::toggleFloaterInstance(const LLSD& sdname)
}
//static
+void LLFloaterReg::toggleToolbarFloaterInstance(const LLSD& sdname)
+{
+ // Do some extra logic here for 3-state toolbar floater toggling madness :)
+
+ LLSD key;
+ std::string name = sdname.asString();
+ parse_name_key(name, key);
+ toggleInstance(name, key);
+}
+
+//static
bool LLFloaterReg::floaterInstanceVisible(const LLSD& sdname)
{
LLSD key;