aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorreemuru <rimuru@hiahatf.org>2022-01-31 23:32:09 -0500
committerreemuru <rimuru@hiahatf.org>2022-01-31 23:34:24 -0500
commitbf324ec2d9d2f63737b6c21f3b12ece4a64906e6 (patch)
tree527d7d293b6986e0b1745dfd767fc4d02b3f3ed2 /wizard
parente9afaa9cc89acc06b41e05748c5795efdeee9627 (diff)
downloadmonzero-gui-bf324ec2d9d2f63737b6c21f3b12ece4a64906e6.tar.gz
monzero-gui-bf324ec2d9d2f63737b6c21f3b12ece4a64906e6.tar.xz
monzero-gui-bf324ec2d9d2f63737b6c21f3b12ece4a64906e6.zip
bug: reset wallet path on network change
When changing network type without changing wallet path the gui will attempt to open the most recently used wallet path and network type even if they don't match. This commit forces the user back to wallet setup under this condition. As long as network type and wallet path are both updated before closing the issue will no longer occur.
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardHome.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/wizard/WizardHome.qml b/wizard/WizardHome.qml
index 35ba9239..b49fda15 100644
--- a/wizard/WizardHome.qml
+++ b/wizard/WizardHome.qml
@@ -213,6 +213,7 @@ Rectangle {
}
appWindow.disconnectRemoteNode()
networkTypeDropdown.currentIndex = Qt.binding(function() { return persistentSettings.nettype });
+ persistentSettings.wallet_path = ""
}
}