fixed major EXT-5387 “Private IM Window Steals Focus from Nearby Chat”,
prevented focus stealing when IM opened in multitab mode; --HG-- branch : product-enginemaster
parent
481e26ae2d
commit
f808bafa66
|
|
@ -497,7 +497,11 @@ void LLIMFloater::setVisible(BOOL visible)
|
|||
{
|
||||
//only if floater was construced and initialized from xml
|
||||
updateMessages();
|
||||
mInputEditor->setFocus(TRUE);
|
||||
//prevent steal focus when IM opened in multitab mode
|
||||
if (!isChatMultiTab())
|
||||
{
|
||||
mInputEditor->setFocus(TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
if(!visible)
|
||||
|
|
|
|||
Loading…
Reference in New Issue