2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Fix crash on cancelled Qr login attempt.

This commit is contained in:
John Preston
2021-08-25 15:31:51 +03:00
parent bdc275a927
commit 2671e67119

View File

@@ -409,7 +409,7 @@ void Widget::appendStep(Step *step) {
step->setGeometry(rect());
step->setGoCallback([=](Step *step, StackAction action, Animate animate) {
if (action == StackAction::Back) {
historyMove(action, animate);
backRequested();
} else {
moveToStep(step, action, animate);
}