mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix possible crash in chats list.
This commit is contained in:
@@ -2839,7 +2839,11 @@ void InnerWidget::dialogRowReplaced(
|
||||
_selected = newRow;
|
||||
}
|
||||
if (_pressed == oldRow) {
|
||||
setPressed(newRow, _pressedTopicJump, _pressedRightButton);
|
||||
if (newRow) {
|
||||
setPressed(newRow, _pressedTopicJump, _pressedRightButton);
|
||||
} else {
|
||||
clearPressed();
|
||||
}
|
||||
}
|
||||
if (_dragging == oldRow) {
|
||||
if (newRow) {
|
||||
|
||||
Reference in New Issue
Block a user