summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimcontainer.cpp
diff options
context:
space:
mode:
authormaksymsproductengine <maksymsproductengine@lindenlab.com>2013-02-18 20:02:43 +0200
committermaksymsproductengine <maksymsproductengine@lindenlab.com>2013-02-18 20:02:43 +0200
commit50d50019d8b8350bc7b04b0b49c6107cde62f4b0 (patch)
tree258a2132d33230c193c8eec747cea4dcb42e7956 /indra/newview/llfloaterimcontainer.cpp
parent7b2cbf254ae102738d9e7b41e9cec55a867ec755 (diff)
CHUI-729 FIXED Messages pane displays incorrect after changing size and relogin
Diffstat (limited to 'indra/newview/llfloaterimcontainer.cpp')
-rw-r--r--indra/newview/llfloaterimcontainer.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp
index c1959729d1..86d205a920 100644
--- a/indra/newview/llfloaterimcontainer.cpp
+++ b/indra/newview/llfloaterimcontainer.cpp
@@ -1851,4 +1851,18 @@ void LLFloaterIMContainer::flashConversationItemWidget(const LLUUID& session_id,
}
}
+void LLFloaterIMContainer::closeFloater(bool app_quitting/* = false*/)
+{
+ // Always unminimize before trying to close.
+ // Most of the time the user will never see this state.
+ setMinimized(FALSE);
+
+ S32 conv_pane_width = mConversationsPane->getRect().getWidth();
+
+ // Save the conversations pane width before collapsing it.
+ gSavedPerAccountSettings.setS32("ConversationsListPaneWidth", conv_pane_width);
+
+ LLFloater::closeFloater(app_quitting);
+}
+
// EOF