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

CHUI-860 FIXED Don't call onSlide() to change Participant list's state

parent 5187f5b4
No related branches found
No related tags found
No related merge requests found
...@@ -802,18 +802,12 @@ void LLFloaterIMSessionTab::onCollapseToLine(LLFloaterIMSessionTab* self) ...@@ -802,18 +802,12 @@ void LLFloaterIMSessionTab::onCollapseToLine(LLFloaterIMSessionTab* self)
LLFloaterIMContainer* host_floater = dynamic_cast<LLFloaterIMContainer*>(self->getHost()); LLFloaterIMContainer* host_floater = dynamic_cast<LLFloaterIMContainer*>(self->getHost());
if (!host_floater) if (!host_floater)
{ {
if(self->mParticipantListPanel->getVisible())
{
onSlide(self);
}
bool expand = self->isMessagePaneExpanded(); bool expand = self->isMessagePaneExpanded();
self->mExpandCollapseLineBtn->setImageOverlay(self->getString(expand ? "collapseline_icon" : "expandline_icon")); self->mExpandCollapseLineBtn->setImageOverlay(self->getString(expand ? "collapseline_icon" : "expandline_icon"));
self->mContentPanel->setVisible(!expand); self->mContentPanel->setVisible(!expand);
self->mToolbarPanel->setVisible(!expand); self->mToolbarPanel->setVisible(!expand);
self->reshapeFloater(expand); self->reshapeFloater(expand);
self->setMessagePaneExpanded(!expand); self->setMessagePaneExpanded(!expand);
} }
} }
......
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