diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-08-06 17:11:12 +0200 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-11-01 17:02:44 +0100 |
| commit | bbcb780cfa821b2176c86e3ffd5118778b5588da (patch) | |
| tree | 20718ac9a7826055678daf79aeb6786b5cdeb467 /wizard/WizardCreateWallet.qml | |
| parent | 91953f1a3a1680ad68da7247af892fbd828fc556 (diff) | |
| download | monzero-gui-bbcb780cfa821b2176c86e3ffd5118778b5588da.tar.gz monzero-gui-bbcb780cfa821b2176c86e3ffd5118778b5588da.tar.xz monzero-gui-bbcb780cfa821b2176c86e3ffd5118778b5588da.zip | |
wizard: use m_wallet instead of storing in settingsObj
Diffstat (limited to 'wizard/WizardCreateWallet.qml')
| -rw-r--r-- | wizard/WizardCreateWallet.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wizard/WizardCreateWallet.qml b/wizard/WizardCreateWallet.qml index 99ee2478..14142212 100644 --- a/wizard/WizardCreateWallet.qml +++ b/wizard/WizardCreateWallet.qml @@ -78,7 +78,7 @@ ColumnLayout { // page submitted or b) delete it when program closed before reaching final page // Always delete the wallet object before creating new - we could be stepping back from recovering wallet - if (typeof settingsObject.wallet !== 'undefined') { + if (typeof m_wallet !== 'undefined') { walletManager.closeWallet() console.log("deleting wallet") } @@ -91,8 +91,8 @@ ColumnLayout { uiItem.wordsTextItem.memoText = wallet.seed // saving wallet in "global" settings object // TODO: wallet should have a property pointing to the file where it stored or loaded from - settingsObject.wallet = wallet - settingsObject.tmp_wallet_filename = tmp_wallet_filename + m_wallet = wallet; + settingsObject['tmp_wallet_filename'] = tmp_wallet_filename } WizardManageWalletUI { |
