From 3ed2da9282b6d0a76821e8418b2d045f06fa10a6 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Tue, 8 Jan 2013 14:53:08 -0500 Subject: [PATCH] Once more change the behavior of minimizing new chats in open in separate floater mode, to be a little more truthful. --- indra/newview/llimview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index a7087cbd6..fb8a783ba 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -1140,7 +1140,7 @@ LLFloaterIMPanel* LLIMMgr::createFloater( static LLCachedControl minimize("OtherChatsTornOffAndMinimized"); if (focused_floater != NULL) // there was a focused floater { - floater->setMinimized(true); // so minimize this one, for now + floater->setMinimized(minimize); // so minimize this one, for now, if desired focused_floater->setFocus(true); // and work around focus being removed by focusing on the last } else if (minimize) @@ -1185,7 +1185,7 @@ LLFloaterIMPanel* LLIMMgr::createFloater( static LLCachedControl minimize("OtherChatsTornOffAndMinimized"); if (focused_floater != NULL) // there was a focused floater { - floater->setMinimized(true); // so minimize this one, for now + floater->setMinimized(minimize); // so minimize this one, for now, if desired focused_floater->setFocus(true); // and work around focus being removed by focusing on the last } else if (minimize)