summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2009-11-02 14:35:57 +0200
committerYuri Chebotarev <ychebotarev@productengine.com>2009-11-02 14:35:57 +0200
commit2e12c9a53acaf8e624f20dc23055151e79924d80 (patch)
treedff5a56102779f1273754f36b7a8381873e721fa /indra
parente873695e7bd246a95e8368e11d6b18acd63f7230 (diff)
fix Normal Task EXT-239 Save chat window state and position between sessions
--HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/llfloaterreg.cpp1
-rw-r--r--indra/newview/skins/default/xui/en/floater_nearby_chat.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llfloaterreg.cpp b/indra/llui/llfloaterreg.cpp
index d60a879410..d98d8a0e90 100644
--- a/indra/llui/llfloaterreg.cpp
+++ b/indra/llui/llfloaterreg.cpp
@@ -135,6 +135,7 @@ LLFloater* LLFloaterReg::getInstance(const std::string& name, const LLSD& key)
res->mKey = key;
res->setInstanceName(name);
res->applyRectControl(); // Can't apply rect control until setting instance name
+ res->applyDockState();//same...
if (res->mAutoTile && !res->getHost() && index > 0)
{
const LLRect& cur_rect = res->getRect();
diff --git a/indra/newview/skins/default/xui/en/floater_nearby_chat.xml b/indra/newview/skins/default/xui/en/floater_nearby_chat.xml
index 65dd4e74ff..e7c5bf8585 100644
--- a/indra/newview/skins/default/xui/en/floater_nearby_chat.xml
+++ b/indra/newview/skins/default/xui/en/floater_nearby_chat.xml
@@ -14,6 +14,7 @@
help_topic="nearby_chat"
save_rect="true"
title="Nearby Chat"
+ save_dock_state="true"
save_visibility="true"
single_instance="true"
width="320">