mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 08:25:38 +00:00
Fix crash on cancelled Qr login attempt.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user