summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimcontainer.cpp
diff options
context:
space:
mode:
authorAlexanderP ProductEngine <apaschenko@productengine.com>2013-02-19 23:38:57 +0200
committerAlexanderP ProductEngine <apaschenko@productengine.com>2013-02-19 23:38:57 +0200
commitbfdd9b2e134110c7ed7b68925f78aac721e66905 (patch)
tree850dc9fbb76ee7ca483a4869cb0b39b8b55c6de8 /indra/newview/llfloaterimcontainer.cpp
parent8ed2072aa25a99d1da6c18de990bf155e65dc1ca (diff)
CHUI-756 Minimized chat opens when start new conversation : saving of the minimized state of an session floater
Diffstat (limited to 'indra/newview/llfloaterimcontainer.cpp')
-rw-r--r--indra/newview/llfloaterimcontainer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp
index 72febcf431..60e306eef4 100644
--- a/indra/newview/llfloaterimcontainer.cpp
+++ b/indra/newview/llfloaterimcontainer.cpp
@@ -1384,7 +1384,9 @@ BOOL LLFloaterIMContainer::selectConversationPair(const LLUUID& session_id, bool
// Set the focus on the selected floater
if (!session_floater->hasFocus())
{
+ BOOL is_minimized = session_floater->isMinimized();
session_floater->setFocus(TRUE);
+ session_floater->setMinimized(is_minimized);
}
}