summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersidetraytab.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-02-24 18:37:06 -0800
committerRichard Linden <none@none>2011-02-24 18:37:06 -0800
commit874da4cde8914de81992505ade8bc7f106a6019a (patch)
tree9b5715381841d2c2fc434145433dca818dbaa983 /indra/newview/llfloatersidetraytab.cpp
parent7f448b02c0d88131bf607afc5b1c8102ef311be9 (diff)
SOCIAL-551 WIP add buttons to open people and profile windows
ShowSideTrayPanel action can now toggle undocked panels OpenSidePanelsInFloaters works now Clossing a sidepanel floater will not return contents to side tray close button enabled in minimal skin for side panel floaters
Diffstat (limited to 'indra/newview/llfloatersidetraytab.cpp')
-rw-r--r--indra/newview/llfloatersidetraytab.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llfloatersidetraytab.cpp b/indra/newview/llfloatersidetraytab.cpp
index f13b4db3a0..94407e6da0 100644
--- a/indra/newview/llfloatersidetraytab.cpp
+++ b/indra/newview/llfloatersidetraytab.cpp
@@ -30,6 +30,7 @@
// newview includes
#include "lltransientfloatermgr.h"
+#include "llsidetray.h"
LLFloaterSideTrayTab::LLFloaterSideTrayTab(const LLSD& key, const Params& params)
: LLFloater(key, params)
@@ -43,3 +44,8 @@ LLFloaterSideTrayTab::~LLFloaterSideTrayTab()
{
LLTransientFloaterMgr::getInstance()->removeControlView(LLTransientFloaterMgr::GLOBAL, this);
}
+
+void LLFloaterSideTrayTab::onClose(bool app_quitting)
+{
+ LLSideTray::getInstance()->setTabDocked(getName(), true);
+}