mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix crash on cancelled Qr login attempt.
This commit is contained in:
parent
bdc275a927
commit
2671e67119
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ void Widget::appendStep(Step *step) {
|
||||||
step->setGeometry(rect());
|
step->setGeometry(rect());
|
||||||
step->setGoCallback([=](Step *step, StackAction action, Animate animate) {
|
step->setGoCallback([=](Step *step, StackAction action, Animate animate) {
|
||||||
if (action == StackAction::Back) {
|
if (action == StackAction::Back) {
|
||||||
historyMove(action, animate);
|
backRequested();
|
||||||
} else {
|
} else {
|
||||||
moveToStep(step, action, animate);
|
moveToStep(step, action, animate);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue