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 3e304f90..6a3d3284 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 1b75672a..bf569cdf 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";