summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersidetraytab.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-05-07 10:11:40 -0400
committerOz Linden <oz@lindenlab.com>2011-05-07 10:11:40 -0400
commit510283ce83f152a01887b535f24b29cf2ee95968 (patch)
tree8134c989050501958bd66a88a5554378977af793 /indra/newview/llfloatersidetraytab.cpp
parentd892256d5ba142bb8ea7ef11f64c67a498e725e9 (diff)
parenta941a376274b80212ed0624539578816d7960bb9 (diff)
storm-1237: merge experience team issues
Diffstat (limited to 'indra/newview/llfloatersidetraytab.cpp')
-rw-r--r--indra/newview/llfloatersidetraytab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloatersidetraytab.cpp b/indra/newview/llfloatersidetraytab.cpp
index 94407e6da0..9f15e62d84 100644
--- a/indra/newview/llfloatersidetraytab.cpp
+++ b/indra/newview/llfloatersidetraytab.cpp
@@ -47,5 +47,6 @@ LLFloaterSideTrayTab::~LLFloaterSideTrayTab()
void LLFloaterSideTrayTab::onClose(bool app_quitting)
{
- LLSideTray::getInstance()->setTabDocked(getName(), true);
+ // The floater is already being closed, so don't toggle it once more (that may crash viewer).
+ LLSideTray::getInstance()->setTabDocked(getName(), /* dock = */ true, /* toggle_floater = */ false);
}