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:
@@ -1140,7 +1140,7 @@ LLFloaterIMPanel* LLIMMgr::createFloater(
|
|||||||
static LLCachedControl<bool> minimize("OtherChatsTornOffAndMinimized");
|
static LLCachedControl<bool> minimize("OtherChatsTornOffAndMinimized");
|
||||||
if (focused_floater != NULL) // there was a focused floater
|
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
|
focused_floater->setFocus(true); // and work around focus being removed by focusing on the last
|
||||||
}
|
}
|
||||||
else if (minimize)
|
else if (minimize)
|
||||||
@@ -1185,7 +1185,7 @@ LLFloaterIMPanel* LLIMMgr::createFloater(
|
|||||||
static LLCachedControl<bool> minimize("OtherChatsTornOffAndMinimized");
|
static LLCachedControl<bool> minimize("OtherChatsTornOffAndMinimized");
|
||||||
if (focused_floater != NULL) // there was a focused floater
|
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
|
focused_floater->setFocus(true); // and work around focus being removed by focusing on the last
|
||||||
}
|
}
|
||||||
else if (minimize)
|
else if (minimize)
|
||||||
|
|||||||
Reference in New Issue
Block a user