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 /main.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 'main.qml')
| -rw-r--r-- | main.qml | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -196,7 +196,7 @@ ApplicationWindow { walletManager.setDaemonAddress(persistentSettings.daemon_address) // wallet already opened with wizard, we just need to initialize it - if (typeof wizard.settings['wallet'] !== 'undefined') { + if (typeof wizard.m_wallet !== 'undefined') { console.log("using wizard wallet") //Set restoreHeight if(persistentSettings.restore_height > 0){ @@ -204,11 +204,11 @@ ApplicationWindow { restoreHeight = persistentSettings.restore_height } - connectWallet(wizard.settings['wallet']) + connectWallet(wizard.m_wallet) isNewWallet = true // We don't need the wizard wallet any more - delete to avoid conflict with daemon adress change - delete wizard.settings['wallet'] + delete wizard.m_wallet } else { var wallet_path = walletPath(); if(isIOS) |
