Skip to content
Snippets Groups Projects
Commit 6ba822c0 authored by maxim_productengine's avatar maxim_productengine
Browse files

CHUI-460 FIXED Reselect floater after toggling the participant list open or closed

parent 0e6139eb
No related branches found
No related tags found
No related merge requests found
......@@ -240,7 +240,7 @@ void LLConversationViewSession::toggleOpen()
{
getParentFolder()->setSelection(this, true);
}
mContainer->reSelectConversation();
}
}
......
......@@ -334,7 +334,7 @@ void LLFloaterIMContainer::onExpandCollapseButtonClicked()
{
collapseConversationsPane(!mConversationsPane->isCollapsed());
}
selectConversation(mSelectedSession);
reSelectConversation();
}
LLFloaterIMContainer* LLFloaterIMContainer::findInstance()
......@@ -1574,4 +1574,14 @@ void LLFloaterIMContainer::onNearbyChatClosed()
closeFloater();
}
void LLFloaterIMContainer::reSelectConversation()
{
LLFloaterIMSessionTab* session_floater = LLFloaterIMSessionTab::getConversation(mSelectedSession);
if (session_floater->getHost())
{
selectFloater(session_floater);
}
}
// EOF
......@@ -163,6 +163,7 @@ class LLFloaterIMContainer
LLConversationItem* addConversationListItem(const LLUUID& uuid, bool isWidgetSelected = false);
void setTimeNow(const LLUUID& session_id, const LLUUID& participant_id);
void setNearbyDistances();
void reSelectConversation();
private:
LLConversationViewSession* createConversationItemWidget(LLConversationItem* item);
......
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