diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml index 87d96f70..bb073b66 100644 --- a/wizard/WizardController.qml +++ b/wizard/WizardController.qml @@ -310,7 +310,7 @@ Rectangle { oshelper.removeTemporaryWallet(wizardController.tmpWalletFilename) // protecting wallet with password - wizardController.m_wallet.setPassword(walletOptionsPassword); + wizardController.m_wallet.setPassword(wizardController.walletOptionsPassword); // Store password in session to be able to use password protected functions (e.g show seed) appWindow.walletPassword = walletOptionsPassword diff --git a/wizard/WizardCreateWallet2.qml b/wizard/WizardCreateWallet2.qml index 92e8f5b1..75f6e63d 100644 --- a/wizard/WizardCreateWallet2.qml +++ b/wizard/WizardCreateWallet2.qml @@ -69,6 +69,8 @@ Rectangle { } } onNextClicked: { + wizardController.walletOptionsPassword = passwordFields.password; + if(appWindow.walletMode === 0 || appWindow.walletMode === 1){ wizardController.fetchRemoteNodes(function(){ wizardStateView.state = "wizardCreateWallet4"; diff --git a/wizard/WizardRestoreWallet2.qml b/wizard/WizardRestoreWallet2.qml index e92c5358..017c1411 100644 --- a/wizard/WizardRestoreWallet2.qml +++ b/wizard/WizardRestoreWallet2.qml @@ -68,6 +68,8 @@ Rectangle { wizardStateView.state = "wizardRestoreWallet1"; } onNextClicked: { + wizardController.walletOptionsPassword = passwordFields.password; + if(appWindow.walletMode === 0 || appWindow.walletMode === 1){ wizardController.fetchRemoteNodes(function(){ wizardStateView.state = "wizardRestoreWallet4";