CHUI-584 : Fixed : Viewer crash when clicking on view/sort options drop down in conversation floater:
Protection from a lack of the current selection. It need for the newly created floater, which still is not finished adding the first conversation item.meow-7.2.2
parent
9275379e3c
commit
322fb00630
|
|
@ -916,7 +916,12 @@ void LLFloaterIMContainer::getParticipantUUIDs(uuid_vec_t& selected_uuids)
|
|||
//Find the conversation floater associated with the selected id
|
||||
const LLConversationItem * conversation_item = getCurSelectedViewModelItem();
|
||||
|
||||
if(conversationItem->getType() == LLConversationItem::CONV_PARTICIPANT)
|
||||
if (NULL == conversation_item)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (conversation_item->getType() == LLConversationItem::CONV_PARTICIPANT)
|
||||
{
|
||||
getSelectedUUIDs(selected_uuids);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue