summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloater.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-03-04 16:05:05 +0200
committerMike Antipov <mantipov@productengine.com>2010-03-04 16:05:05 +0200
commit59d3087700c786212fcc2a44455fca6fb4a6a739 (patch)
tree08e5e0f01244412b982a1d2802ecef5e1e5d3897 /indra/newview/llimfloater.cpp
parent0b51078da2f8c0a69791f8737d74d9330ef91eee (diff)
Backed out changeset: 317082ea4701
reverted fix for (EXT-3852 Tabs in Tabbed Instant Messaging do not auto focus the text field when clicked) Previously implemented solution conflicts with test case in EXT-5387. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llimfloater.cpp')
-rw-r--r--indra/newview/llimfloater.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp
index fdc5d14d97..9bd5a8d5aa 100644
--- a/indra/newview/llimfloater.cpp
+++ b/indra/newview/llimfloater.cpp
@@ -629,9 +629,8 @@ 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, 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);
+ // So, let capture mouse tp prevent LLTabContainer set focus on the panel's first child.
+ gFocusMgr.setMouseCapture(self->mInputEditor);
}
}