diff options
author | Merov Linden <merov@lindenlab.com> | 2013-03-23 16:49:51 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2013-03-23 16:49:51 -0700 |
commit | 0af5b073e0557a4918d4094841c3a045a8c71ba9 (patch) | |
tree | ee092581f5c05f235b4703251856e4fc8779a235 /indra/newview/llfloaterimcontainer.cpp | |
parent | 819c837557cae318100505b418175ef0e5988eae (diff) |
CHUI-888 : Fixed! Overload setVisibleAndFrontmost() so that we set the focus if requested (was dropped in the shuffle before).
Diffstat (limited to 'indra/newview/llfloaterimcontainer.cpp')
-rw-r--r-- | indra/newview/llfloaterimcontainer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp index bf7fe6db36..0cda1f79b3 100644 --- a/indra/newview/llfloaterimcontainer.cpp +++ b/indra/newview/llfloaterimcontainer.cpp @@ -626,6 +626,12 @@ void LLFloaterIMContainer::setVisible(BOOL visible) LLMultiFloater::setVisible(visible); } +void LLFloaterIMContainer::setVisibleAndFrontmost(BOOL take_focus, const LLSD& key) +{ + LLMultiFloater::setVisibleAndFrontmost(take_focus, key); + selectConversationPair(getSelectedSession(), false, take_focus); +} + void LLFloaterIMContainer::updateResizeLimits() { LLMultiFloater::updateResizeLimits(); |