mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fix rare crash when clicking in a ChannelView
This commit is contained in:
parent
7c81477c35
commit
c81df989c5
1 changed files with 2 additions and 2 deletions
|
@ -835,10 +835,10 @@ void ChannelView::mousePressEvent(QMouseEvent *event)
|
|||
|
||||
SelectionItem selectionItem(lastMessageIndex, lastCharacterIndex);
|
||||
this->setSelection(selectionItem, selectionItem);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// check if message is collapsed
|
||||
if (layout->flags & MessageLayout::Collapsed) {
|
||||
|
|
Loading…
Reference in a new issue