summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersidetraytab.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-05-11 13:47:12 -0400
committerOz Linden <oz@lindenlab.com>2011-05-11 13:47:12 -0400
commit353d2059fc33174010127863a25983b918115361 (patch)
treef2e08370b140352957b4d7757e59e0fe673f5a14 /indra/newview/llfloatersidetraytab.cpp
parent7610c0c050a84ebdf08b8e206eb7fe5e190dedb2 (diff)
parentd86eb3dd42d39e6b7647b6680100aeafe2173d36 (diff)
merge up to latest viewer-development
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);
}