summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimsession.cpp
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2013-04-02 16:02:13 -0400
committerNyx Linden <nyx@lindenlab.com>2013-04-02 16:02:13 -0400
commit323a2f2235a52383bcfbae79bdce9e61ca808d2a (patch)
tree313d298add46edae3dadc1f3426b8fa68f9452fe /indra/newview/llfloaterimsession.cpp
parent557adcabb925acbcc79f39f76f7cb74b6202a8da (diff)
parent49731dd21dec5fb8b6e5781940bab5f5fa9600a2 (diff)
pulling in sunshine-stable to sunshine-internal.
Diffstat (limited to 'indra/newview/llfloaterimsession.cpp')
-rw-r--r--indra/newview/llfloaterimsession.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimsession.cpp b/indra/newview/llfloaterimsession.cpp
index 3635d3bb2c..c536c50ae2 100644
--- a/indra/newview/llfloaterimsession.cpp
+++ b/indra/newview/llfloaterimsession.cpp
@@ -618,6 +618,8 @@ void LLFloaterIMSession::onClose(bool app_quitting)
// Last change:
// EXT-3516 X Button should end IM session, _ button should hide
gIMMgr->leaveSession(mSessionID);
+ // *TODO: Study why we need to restore the floater before we close it.
+ // Might be because we want to save some state data in some clean open state.
LLFloaterIMSessionTab::restoreFloater();
// Clean up the conversation *after* the session has been ended
LLFloaterIMSessionTab::onClose(app_quitting);