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
1 changed files with 1 additions and 1 deletions

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);
}