summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2013-03-22 15:21:58 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2013-03-22 15:21:58 +0200
commitb2d122975a68a53887c321c8fbca9eeb78add003 (patch)
tree7a48febf93f6fd8b764823b0340630f4d6794810
parentfb78a0cac235e8ee5ccbcb724f38ffa00ddfa930 (diff)
CHUI-879 FIXED Expand and then collapse message pane when floater opens to avoid UI issues.
-rw-r--r--indra/newview/llfloaterimnearbychat.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimnearbychat.cpp b/indra/newview/llfloaterimnearbychat.cpp
index b287950c21..171509af59 100644
--- a/indra/newview/llfloaterimnearbychat.cpp
+++ b/indra/newview/llfloaterimnearbychat.cpp
@@ -283,6 +283,11 @@ void LLFloaterIMNearbyChat::onTearOffClicked()
void LLFloaterIMNearbyChat::onOpen(const LLSD& key)
{
LLFloaterIMSessionTab::onOpen(key);
+ if(!isMessagePaneExpanded())
+ {
+ restoreFloater();
+ onCollapseToLine(this);
+ }
showTranslationCheckbox(LLTranslate::isTranslationConfigured());
}