Merge pull request #2785

c14852c WizardController: invoke restart() after persistentSettings update (xiphon)
This commit is contained in:
luigi1111 2020-02-26 14:51:10 -05:00
commit 7067195c2f
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -364,8 +364,6 @@ Rectangle {
// protecting wallet with password
wizardController.m_wallet.setPassword(wizardController.walletOptionsPassword);
restart();
// save to persistent settings
persistentSettings.language = wizardController.language_language
persistentSettings.locale = wizardController.language_locale
@ -377,6 +375,8 @@ Rectangle {
persistentSettings.allow_background_mining = false
persistentSettings.is_recovering = (wizardController.walletOptionsIsRecovering === undefined) ? false : wizardController.walletOptionsIsRecovering
persistentSettings.is_recovering_from_device = (wizardController.walletOptionsIsRecoveringFromDevice === undefined) ? false : wizardController.walletOptionsIsRecoveringFromDevice
restart();
}
function recoveryWallet() {