device: fix hardware wallet creation / restore height

This commit is contained in:
xiphon 2019-04-20 05:38:55 +00:00
parent 10926644bf
commit ed603f310e
2 changed files with 4 additions and 0 deletions

View file

@ -602,6 +602,9 @@ ApplicationWindow {
if(persistentSettings.is_recovering) {
persistentSettings.is_recovering = false
}
if (persistentSettings.is_recovering_from_device) {
persistentSettings.is_recovering_from_device = false;
}
}
// Update history on every refresh if it's empty

View file

@ -507,6 +507,7 @@ Rectangle {
function openWalletFile(fn) {
persistentSettings.restore_height = 0;
persistentSettings.is_recovering = false;
persistentSettings.is_recovering_from_device = false;
appWindow.restoreHeight = 0;
appWindow.walletPassword = "";