summaryrefslogtreecommitdiff
path: root/indra/llui/llfloater.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2009-12-02 20:18:53 +0200
committerYuri Chebotarev <ychebotarev@productengine.com>2009-12-02 20:18:53 +0200
commit3c8f89246712d1e5391ab1bdd6bbc36a83f210d8 (patch)
treebc6c5803b28402cfbecf4e84e825cbc3bbea0974 /indra/llui/llfloater.cpp
parenta2e23aa3d9f6e8c156e97244a7694256f41f93c3 (diff)
parent2b2178fe2535e27aadfaa94f70fce05b2f8d63ad (diff)
merge
--HG-- branch : product-engine
Diffstat (limited to 'indra/llui/llfloater.cpp')
-rw-r--r--indra/llui/llfloater.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp
index 36a9e0a650..a63187678e 100644
--- a/indra/llui/llfloater.cpp
+++ b/indra/llui/llfloater.cpp
@@ -1452,6 +1452,7 @@ void LLFloater::onClickTearOff(LLFloater* self)
gFloaterView->adjustToFitScreen(self, FALSE);
// give focus to new window to keep continuity for the user
self->setFocus(TRUE);
+ self->setTornOff(true);
}
else //Attach to parent.
{
@@ -1463,6 +1464,7 @@ void LLFloater::onClickTearOff(LLFloater* self)
// make sure host is visible
new_host->openFloater(new_host->getKey());
}
+ self->setTornOff(false);
}
}