From bf324ec2d9d2f63737b6c21f3b12ece4a64906e6 Mon Sep 17 00:00:00 2001 From: reemuru Date: Mon, 31 Jan 2022 23:32:09 -0500 Subject: [PATCH] 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. --- wizard/WizardHome.qml | 1 + 1 file changed, 1 insertion(+) 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 = "" } }