From f808bafa663b5b855cbb26af552bbca1caa4c026 Mon Sep 17 00:00:00 2001 From: Alexei Arabadji Date: Tue, 16 Feb 2010 12:47:54 +0200 Subject: =?UTF-8?q?fixed=20major=20EXT-5387=20=E2=80=9CPrivate=20IM=20Wind?= =?UTF-8?q?ow=20Steals=20Focus=20from=20Nearby=20Chat=E2=80=9D,=20prevente?= =?UTF-8?q?d=20focus=20stealing=20when=20IM=20opened=20in=20multitab=20mod?= =?UTF-8?q?e;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : product-engine --- indra/newview/llimfloater.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp index 8b2c5b039f..847695577a 100644 --- a/indra/newview/llimfloater.cpp +++ b/indra/newview/llimfloater.cpp @@ -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) -- cgit v1.2.3