mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
device: fix hardware wallet creation / restore height
This commit is contained in:
parent
10926644bf
commit
ed603f310e
2 changed files with 4 additions and 0 deletions
3
main.qml
3
main.qml
|
@ -602,6 +602,9 @@ ApplicationWindow {
|
||||||
if(persistentSettings.is_recovering) {
|
if(persistentSettings.is_recovering) {
|
||||||
persistentSettings.is_recovering = false
|
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
|
// Update history on every refresh if it's empty
|
||||||
|
|
|
@ -507,6 +507,7 @@ Rectangle {
|
||||||
function openWalletFile(fn) {
|
function openWalletFile(fn) {
|
||||||
persistentSettings.restore_height = 0;
|
persistentSettings.restore_height = 0;
|
||||||
persistentSettings.is_recovering = false;
|
persistentSettings.is_recovering = false;
|
||||||
|
persistentSettings.is_recovering_from_device = false;
|
||||||
|
|
||||||
appWindow.restoreHeight = 0;
|
appWindow.restoreHeight = 0;
|
||||||
appWindow.walletPassword = "";
|
appWindow.walletPassword = "";
|
||||||
|
|
Loading…
Reference in a new issue