diff options
author | Merov Linden <merov@lindenlab.com> | 2012-06-27 15:32:08 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-06-27 15:32:08 -0700 |
commit | d470632799dfdea723d15d91aa5783bdd1700257 (patch) | |
tree | baf24e30f0519d9d0112077c2f351460f64489d2 | |
parent | 1eb6b4509d9ae79f8313e1e68351028794093a53 (diff) |
CHUI-130 : Leave minimized torn off IM untouched when showing hiding the whole set of conversations
-rw-r--r-- | indra/newview/llimfloatercontainer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llimfloatercontainer.cpp b/indra/newview/llimfloatercontainer.cpp index 52bacf15e4..34a9758c52 100644 --- a/indra/newview/llimfloatercontainer.cpp +++ b/indra/newview/llimfloatercontainer.cpp @@ -556,8 +556,9 @@ void LLConversationItem::selectItem(void) void LLConversationItem::setVisibleIfDetached(BOOL visible) { - // Do this only if the conversation floater has been torn off (i.e. no multi floater host) - if (!mFloater->getHost()) + // Do this only if the conversation floater has been torn off (i.e. no multi floater host) and is not minimized + // Note: minimized dockable floaters are brought to front hence unminimized when made visible and we don't want that here + if (!mFloater->getHost() && !mFloater->isMinimized()) { mFloater->setVisible(visible); } |