Fix crash in chats strip reorder.

This commit is contained in:
John Preston 2024-11-17 22:52:52 +04:00
parent 42a70ff7d0
commit 73349c3c89

View file

@ -180,6 +180,9 @@ void ChatsFiltersTabsReorder::mousePress(
}
}
cancelCurrent();
if (!widget) {
return;
}
_currentWidget = widget->section;
_currentShiftedWidget = widget;
_currentStart = globalPosition.x();