Pull from lindenlab/viewer-chui
commit
39f5be8c11
|
|
@ -1963,10 +1963,13 @@ bool LLFloaterIMContainer::selectNextorPreviousConversation(bool select_next, bo
|
|||
|
||||
void LLFloaterIMContainer::expandConversation()
|
||||
{
|
||||
LLConversationViewSession* widget = dynamic_cast<LLConversationViewSession*>(get_ptr_in_map(mConversationsWidgets,getSelectedSession()));
|
||||
if (widget)
|
||||
if(!mConversationsPane->isCollapsed())
|
||||
{
|
||||
widget->setOpen(!widget->isOpen());
|
||||
LLConversationViewSession* widget = dynamic_cast<LLConversationViewSession*>(get_ptr_in_map(mConversationsWidgets,getSelectedSession()));
|
||||
if (widget)
|
||||
{
|
||||
widget->setOpen(!widget->isOpen());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -283,6 +283,11 @@ void LLFloaterIMNearbyChat::onTearOffClicked()
|
|||
void LLFloaterIMNearbyChat::onOpen(const LLSD& key)
|
||||
{
|
||||
LLFloaterIMSessionTab::onOpen(key);
|
||||
if(!isMessagePaneExpanded())
|
||||
{
|
||||
restoreFloater();
|
||||
onCollapseToLine(this);
|
||||
}
|
||||
showTranslationCheckbox(LLTranslate::isTranslationConfigured());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue