FIRE-11841: Conversations button in toolbar doesn't properly set focus to selected floater

Ansariel 2013-10-08 19:28:56 +02:00
parent 0099a2fa87
commit 17f574529d
1 changed files with 6 additions and 0 deletions

View File

@ -108,6 +108,12 @@ void FSFloaterIMContainer::onOpen(const LLSD& key)
LLMultiFloater::showFloater(floater);
}
}
LLFloater* active_floater = getActiveFloater();
if (active_floater && !active_floater->hasFocus())
{
active_floater->setFocus(TRUE);
}
/*
if (key.isDefined())