1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-20 04:15:53 +01:00

WizardController: invoke restart() after persistentSettings update

This commit is contained in:
xiphon 2020-02-26 17:53:35 +00:00
parent eb7fae92ef
commit c14852cbd7

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() {