Skip to content
Snippets Groups Projects
Commit c8f83f48 authored by Mnikolenko ProductEngine's avatar Mnikolenko ProductEngine
Browse files

CHUI-854 FIXED Don't expand chat in collapsed mode.

parent b2d12297
No related branches found
No related tags found
No related merge requests found
...@@ -1963,10 +1963,13 @@ bool LLFloaterIMContainer::selectNextorPreviousConversation(bool select_next, bo ...@@ -1963,10 +1963,13 @@ bool LLFloaterIMContainer::selectNextorPreviousConversation(bool select_next, bo
void LLFloaterIMContainer::expandConversation() void LLFloaterIMContainer::expandConversation()
{ {
LLConversationViewSession* widget = dynamic_cast<LLConversationViewSession*>(get_ptr_in_map(mConversationsWidgets,getSelectedSession())); if(!mConversationsPane->isCollapsed())
if (widget)
{ {
widget->setOpen(!widget->isOpen()); LLConversationViewSession* widget = dynamic_cast<LLConversationViewSession*>(get_ptr_in_map(mConversationsWidgets,getSelectedSession()));
if (widget)
{
widget->setOpen(!widget->isOpen());
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment