diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-03-13 16:27:27 -0400 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-03-13 16:27:27 -0400 |
| commit | 39db876fee8e798cd90d93512cba88fe23a5137a (patch) | |
| tree | 76c45969b5a47a9c3497095fa2fff5611169731a | |
| parent | 6ca78702f06f61821653767999e56764400652e9 (diff) | |
| parent | 4c9e2c1f1a82408a95d76da3f1cad50761d820f8 (diff) | |
| download | monzero-gui-39db876fee8e798cd90d93512cba88fe23a5137a.tar.gz monzero-gui-39db876fee8e798cd90d93512cba88fe23a5137a.tar.xz monzero-gui-39db876fee8e798cd90d93512cba88fe23a5137a.zip | |
Merge pull request #1082
4c9e2c1 [Issue 1080] Fixed undefined variable for password rewrite when changing wallet initial block height
| -rw-r--r-- | main.qml | 2 | ||||
| -rw-r--r-- | pages/Settings.qml | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -224,7 +224,7 @@ ApplicationWindow { var wallet_path = walletPath(); if(isIOS) wallet_path = moneroAccountsDir + wallet_path; - // console.log("opening wallet at: ", wallet_path, "with password: ", appWindow.password); + // console.log("opening wallet at: ", wallet_path, "with password: ", appWindow.walletPassword); console.log("opening wallet at: ", wallet_path, ", testnet: ", persistentSettings.testnet); walletManager.openWalletAsync(wallet_path, walletPassword, persistentSettings.testnet); diff --git a/pages/Settings.qml b/pages/Settings.qml index c4e3f50e..f5b25f74 100644 --- a/pages/Settings.qml +++ b/pages/Settings.qml @@ -128,7 +128,7 @@ Rectangle { confirmationDialog.onAcceptedCallback = function() { walletManager.closeWallet(); walletManager.clearWalletCache(persistentSettings.wallet_path); - walletManager.openWalletAsync(persistentSettings.wallet_path, appWindow.password, + walletManager.openWalletAsync(persistentSettings.wallet_path, appWindow.walletPassword, persistentSettings.testnet); } @@ -580,7 +580,7 @@ Rectangle { onClicked: { currentWallet.walletCreationHeight = restoreHeight.text // Restore height is saved in .keys file. Set password to trigger rewrite. - currentWallet.setPassword(appWindow.password) + currentWallet.setPassword(appWindow.walletPassword) restoreHeightRow.visible = false // Show confirmation dialog @@ -597,7 +597,7 @@ Rectangle { confirmationDialog.onAcceptedCallback = function() { walletManager.closeWallet(); walletManager.clearWalletCache(persistentSettings.wallet_path); - walletManager.openWalletAsync(persistentSettings.wallet_path, appWindow.password, + walletManager.openWalletAsync(persistentSettings.wallet_path, appWindow.walletPassword, persistentSettings.testnet); } |
