Fix rare crash when clicking in a ChannelView

This commit is contained in:
Rasmus Karlsson 2018-06-05 15:01:40 +02:00
parent 7c81477c35
commit c81df989c5

View file

@ -835,9 +835,9 @@ void ChannelView::mousePressEvent(QMouseEvent *event)
SelectionItem selectionItem(lastMessageIndex, lastCharacterIndex);
this->setSelection(selectionItem, selectionItem);
return;
}
return;
}
// check if message is collapsed