aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-08-06 17:11:12 +0200
committerJaquee <jaquee.monero@gmail.com>2017-11-01 17:02:44 +0100
commitbbcb780cfa821b2176c86e3ffd5118778b5588da (patch)
tree20718ac9a7826055678daf79aeb6786b5cdeb467 /main.qml
parent91953f1a3a1680ad68da7247af892fbd828fc556 (diff)
downloadmonzero-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.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.qml b/main.qml
index 285423f3..bb7f9a5c 100644
--- a/main.qml
+++ b/main.qml
@@ -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)