forked from Public/monero-gui
device: fix hardware wallet creation / restore height
This commit is contained in:
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 = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user