diff options
author | Mike Antipov <mantipov@productengine.com> | 2010-03-04 16:07:47 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2010-03-04 16:07:47 +0200 |
commit | 18d229a25bf3abb8928f848e41725875d9bba379 (patch) | |
tree | c1eb829d5153c7c09c93a219b9d322bf06a9f476 /indra | |
parent | 59d3087700c786212fcc2a44455fca6fb4a6a739 (diff) | |
parent | dea244dcead7ed362eae330794c9fcd5a389394b (diff) |
Merge
--HG--
branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llimfloater.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp index 9bd5a8d5aa..259f629bdd 100644 --- a/indra/newview/llimfloater.cpp +++ b/indra/newview/llimfloater.cpp @@ -120,12 +120,6 @@ void LLIMFloater::onFocusLost() void LLIMFloater::onFocusReceived() { LLIMModel::getInstance()->setActiveSessionID(mSessionID); - - // return focus to the input field when active tab in the multitab container is clicked. - if (isChatMultiTab() && mInputEditor) - { - mInputEditor->setFocus(TRUE); - } } // virtual @@ -624,14 +618,6 @@ void LLIMFloater::onInputEditorFocusReceived( LLFocusableElement* caller, void* //in disconnected state IM input editor should be disabled self->mInputEditor->setEnabled(!gDisconnected); } - - // when IM Floater is a part of the multitab container LLTabContainer set focus to the first - // 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); - } } // static |