summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul ProductEngine <pguslisty@productengine.com>2012-03-23 18:35:37 +0200
committerPaul ProductEngine <pguslisty@productengine.com>2012-03-23 18:35:37 +0200
commit671873287e28258dd42cf6abd22057f547f77331 (patch)
treed6547126ec483248f15daf67b9e2967457413c24
parentfd4737ec2580db7d3177a327bbd433f4150f7aae (diff)
MAINT-424 FIXED ([PUBLIC]IM-window loses focus when tab is closed)
- Return focus to the ImFloaterContainer
-rw-r--r--indra/newview/llimfloatercontainer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llimfloatercontainer.cpp b/indra/newview/llimfloatercontainer.cpp
index c8e48b0d42..0f0ae896a2 100644
--- a/indra/newview/llimfloatercontainer.cpp
+++ b/indra/newview/llimfloatercontainer.cpp
@@ -119,6 +119,7 @@ void LLIMFloaterContainer::addFloater(LLFloater* floaterp,
void LLIMFloaterContainer::onCloseFloater(LLUUID& id)
{
mSessions.erase(id);
+ setFocus(TRUE);
}
void LLIMFloaterContainer::onNewMessageReceived(const LLSD& data)