diff --git a/main.qml b/main.qml index 647f21f8..5f28e415 100644 --- a/main.qml +++ b/main.qml @@ -135,6 +135,7 @@ ApplicationWindow { function openWalletFromFile(){ persistentSettings.restore_height = 0 + restoreHeight = 0; persistentSettings.is_recovering = false appWindow.password = "" fileDialog.open(); @@ -180,6 +181,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 }