diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2016-11-23 19:32:30 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2016-11-23 19:40:43 +0100 |
| commit | f8fabbe4c577421bf9e1180ae915e37a46e0ffe5 (patch) | |
| tree | 698b19304d7d3ed2d6a5ff305086cd9ae6664c5a | |
| parent | c83336cc4714215725cba957d8ea164a57c33987 (diff) | |
| download | monzero-gui-f8fabbe4c577421bf9e1180ae915e37a46e0ffe5.tar.gz monzero-gui-f8fabbe4c577421bf9e1180ae915e37a46e0ffe5.tar.xz monzero-gui-f8fabbe4c577421bf9e1180ae915e37a46e0ffe5.zip | |
reset restore height counter when switching wallets
| -rw-r--r-- | main.qml | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -134,6 +134,7 @@ ApplicationWindow { function openWalletFromFile(){ persistentSettings.restore_height = 0 + restoreHeight = 0; persistentSettings.is_recovering = false appWindow.password = "" fileDialog.open(); @@ -179,6 +180,7 @@ ApplicationWindow { console.log("using wizard wallet") //Set restoreHeight if(persistentSettings.restore_height > 0){ + // We store restore height in own variable for performance reasons. restoreHeight = persistentSettings.restore_height } |
