CHUI-784 FIXED Crash when closing expanded group chat

meow-7.2.2
maksymsproductengine 2013-02-20 16:47:54 +02:00
parent bfdd9b2e13
commit 2dfdd050d4
1 changed files with 2 additions and 2 deletions

View File

@ -1526,10 +1526,10 @@ bool LLFloaterIMContainer::removeConversationListItem(const LLUUID& uuid, bool c
if (widget)
{
is_widget_selected = widget->isSelected();
new_selection = mConversationsRoot->getNextFromChild(widget);
new_selection = mConversationsRoot->getNextFromChild(widget, FALSE);
if (!new_selection)
{
new_selection = mConversationsRoot->getPreviousFromChild(widget);
new_selection = mConversationsRoot->getPreviousFromChild(widget, FALSE);
}
widget->destroyView();
}