Added back button to cloud password step in intro.
This commit is contained in:
parent
9e85b1aa23
commit
2605e754ff
|
@ -35,6 +35,10 @@ public:
|
||||||
void submit() override;
|
void submit() override;
|
||||||
rpl::producer<QString> nextButtonText() const override;
|
rpl::producer<QString> nextButtonText() const override;
|
||||||
|
|
||||||
|
bool hasBack() const override {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void resizeEvent(QResizeEvent *e) override;
|
void resizeEvent(QResizeEvent *e) override;
|
||||||
|
|
||||||
|
|
|
@ -849,7 +849,7 @@ void Widget::backRequested() {
|
||||||
Core::App().domain().activate(parent);
|
Core::App().domain().activate(parent);
|
||||||
} else {
|
} else {
|
||||||
moveToStep(
|
moveToStep(
|
||||||
new StartWidget(this, _account, getData()),
|
Ui::CreateChild<StartWidget>(this, _account, getData()),
|
||||||
StackAction::Replace,
|
StackAction::Replace,
|
||||||
Animate::Back);
|
Animate::Back);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue