mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix crash in chats strip reorder.
This commit is contained in:
parent
42a70ff7d0
commit
73349c3c89
1 changed files with 3 additions and 0 deletions
|
@ -180,6 +180,9 @@ void ChatsFiltersTabsReorder::mousePress(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cancelCurrent();
|
cancelCurrent();
|
||||||
|
if (!widget) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
_currentWidget = widget->section;
|
_currentWidget = widget->section;
|
||||||
_currentShiftedWidget = widget;
|
_currentShiftedWidget = widget;
|
||||||
_currentStart = globalPosition.x();
|
_currentStart = globalPosition.x();
|
||||||
|
|
Loading…
Add table
Reference in a new issue