FIRE-20024: Clicking a group uri does not put focus on an already open and maximized group profile

meow-7.2.2
Ansariel 2016-09-02 08:29:29 +02:00
parent 00fc34a62f
commit c9bddab122
1 changed files with 9 additions and 2 deletions

View File

@ -451,9 +451,16 @@ void LLGroupActions::show(const LLUUID& group_id)
}
}
if (floater && floater->isMinimized())
if (floater)
{
floater->setMinimized(FALSE);
if (floater->isMinimized())
{
floater->setMinimized(FALSE);
}
if (!floater->hasFocus())
{
floater->setFocus(TRUE);
}
}
// </FS:Ansariel>
}