Once more change the behavior of minimizing new chats in open in separate floater mode, to be a little more truthful.

This commit is contained in:
Lirusaito
2013-01-08 14:53:08 -05:00
parent 68911876b9
commit 3ed2da9282

View File

@@ -1140,7 +1140,7 @@ LLFloaterIMPanel* LLIMMgr::createFloater(
static LLCachedControl<bool> 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<bool> 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)