Fix rare crash when clicking in a ChannelView
This commit is contained in:
@@ -835,9 +835,9 @@ void ChannelView::mousePressEvent(QMouseEvent *event)
|
|||||||
|
|
||||||
SelectionItem selectionItem(lastMessageIndex, lastCharacterIndex);
|
SelectionItem selectionItem(lastMessageIndex, lastCharacterIndex);
|
||||||
this->setSelection(selectionItem, selectionItem);
|
this->setSelection(selectionItem, selectionItem);
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if message is collapsed
|
// check if message is collapsed
|
||||||
|
|||||||
Reference in New Issue
Block a user