mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
Merge pull request #2149
5d3fe93
Check before disconnecting wallet (xmrdsc)
This commit is contained in:
commit
1fcd79729c
1 changed files with 3 additions and 0 deletions
3
main.qml
3
main.qml
|
@ -587,6 +587,9 @@ ApplicationWindow {
|
|||
}
|
||||
|
||||
function disconnectRemoteNode() {
|
||||
if (typeof currentWallet === "undefined" || currentWallet === null)
|
||||
return;
|
||||
|
||||
console.log("disconnecting remote node");
|
||||
persistentSettings.useRemoteNode = false;
|
||||
currentDaemonAddress = localDaemonAddress
|
||||
|
|
Loading…
Reference in a new issue