mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
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.
This commit is contained in:
parent
e9afaa9cc8
commit
bf324ec2d9
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ Rectangle {
|
|||
}
|
||||
appWindow.disconnectRemoteNode()
|
||||
networkTypeDropdown.currentIndex = Qt.binding(function() { return persistentSettings.nettype });
|
||||
persistentSettings.wallet_path = ""
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue