diff options
| author | selsta <selsta@sent.at> | 2026-03-02 19:58:44 +0100 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2026-03-02 19:58:44 +0100 |
| commit | eb25d4cafae05959374754b4fb1bf5b960279048 (patch) | |
| tree | df9f025a4c496c9aced17ceaaa277843784dd871 /wizard | |
| parent | b74815e8b3fd69351fac044b767367da0b5f2914 (diff) | |
| download | monzero-gui-eb25d4cafae05959374754b4fb1bf5b960279048.tar.gz monzero-gui-eb25d4cafae05959374754b4fb1bf5b960279048.tar.xz monzero-gui-eb25d4cafae05959374754b4fb1bf5b960279048.zip | |
WizardController: set password before storing wallet
Diffstat (limited to 'wizard')
| -rw-r--r-- | wizard/WizardController.qml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml index eb727098..a7932fd7 100644 --- a/wizard/WizardController.qml +++ b/wizard/WizardController.qml @@ -378,9 +378,6 @@ Rectangle { console.log("Removing temporary wallet: " + wizardController.tmpWalletFilename) oshelper.removeTemporaryWallet(wizardController.tmpWalletFilename) - // protecting wallet with password - wizardController.m_wallet.setPassword(wizardController.walletOptionsPassword); - // save to persistent settings persistentSettings.account_name = wizardController.walletOptionsName persistentSettings.wallet_path = wizardController.m_wallet.path; @@ -399,6 +396,7 @@ Rectangle { new_wallet_filename = appWindow.accountsDir + new_wallet_filename; } console.log("saving new wallet to", new_wallet_filename); + wizardController.m_wallet.setPassword(wizardController.walletOptionsPassword); wizardController.m_wallet.storeAsync(handler, new_wallet_filename); } |
