diff options
| author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-15 10:23:13 +0100 |
|---|---|---|
| committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-15 10:23:13 +0100 |
| commit | 9f0f610682e0bcceb88eaddcb7a02acfcf3d05ce (patch) | |
| tree | 2df3177c49f39cc6bf5c72a3877eb13af7d64430 /indra/newview/llimfloater.cpp | |
| parent | 10905a7ed1d650c63f596d0e4511494864b68cd3 (diff) | |
| parent | 6a298ea603258b6f72580379a1b25350c6e8b982 (diff) | |
merge from PE's viewer-trunk
Diffstat (limited to 'indra/newview/llimfloater.cpp')
| -rw-r--r-- | indra/newview/llimfloater.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp index 3ec8d11fb0..19dbc564d1 100644 --- a/indra/newview/llimfloater.cpp +++ b/indra/newview/llimfloater.cpp @@ -499,8 +499,8 @@ void LLIMFloater::setVisible(BOOL visible) { //only if floater was construced and initialized from xml updateMessages(); - //prevent steal focus when IM opened in multitab mode - if (!isChatMultiTab()) + //prevent stealing focus when opening a background IM tab (EXT-5387, checking focus for EXT-6781) + if (!isChatMultiTab() || hasFocus()) { mInputEditor->setFocus(TRUE); } |
