Merge pull request #2830 from Trial97/login_wizard_retry
Show login dialog again if account login fails
This commit is contained in:
commit
d06f0529a0
@ -35,11 +35,10 @@ void LoginWizardPage::on_pushButton_clicked()
|
|||||||
if (account) {
|
if (account) {
|
||||||
APPLICATION->accounts()->addAccount(account);
|
APPLICATION->accounts()->addAccount(account);
|
||||||
APPLICATION->accounts()->setDefaultAccount(account);
|
APPLICATION->accounts()->setDefaultAccount(account);
|
||||||
}
|
|
||||||
|
|
||||||
if (wizard()->currentId() == wizard()->pageIds().last()) {
|
if (wizard()->currentId() == wizard()->pageIds().last()) {
|
||||||
wizard()->accept();
|
wizard()->accept();
|
||||||
} else {
|
} else {
|
||||||
wizard()->next();
|
wizard()->next();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user