summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloater.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-01-05 17:54:01 +0200
committerMike Antipov <mantipov@productengine.com>2010-01-05 17:54:01 +0200
commit0b51078da2f8c0a69791f8737d74d9330ef91eee (patch)
tree7c5e1c498bd0bde5d807088dd1b8a2acd199aac9 /indra/newview/llimfloater.cpp
parent244abc70ada99145ec7624e1bc7cc452b900c12d (diff)
Fixed major bug EXT-3852 ([BSI] Tabs in Tabbed Instant Messaging do not auto focus the text field when clicked)
- fix is improved (implemented in 7372:07f21c92896f): fixed bug with "Edit Text" mouse pointer wherever it is. cleared control captured mouse to prevent LLTabContainer set focus on the panel's first child. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llimfloater.cpp')
-rw-r--r--indra/newview/llimfloater.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp
index 9bd5a8d5aa..fdc5d14d97 100644
--- a/indra/newview/llimfloater.cpp
+++ b/indra/newview/llimfloater.cpp
@@ -629,8 +629,9 @@ void LLIMFloater::onInputEditorFocusReceived( LLFocusableElement* caller, void*
// child on tab button's mouse up. This leads input field lost focus. See EXT-3852.
if (isChatMultiTab())
{
- // So, let capture mouse tp prevent LLTabContainer set focus on the panel's first child.
- gFocusMgr.setMouseCapture(self->mInputEditor);
+ // So, clear control captured mouse to prevent LLTabContainer set focus on the panel's first child.
+ // do not pass self->mInputEditor, this leads to have "Edit Text" mouse pointer wherever it is.
+ gFocusMgr.setMouseCapture(NULL);
}
}