Merge pull request #2149

5d3fe93 Check before disconnecting wallet (xmrdsc)
This commit is contained in:
luigi1111 2019-05-03 13:01:13 -05:00
commit 1fcd79729c
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -587,6 +587,9 @@ ApplicationWindow {
}
function disconnectRemoteNode() {
if (typeof currentWallet === "undefined" || currentWallet === null)
return;
console.log("disconnecting remote node");
persistentSettings.useRemoteNode = false;
currentDaemonAddress = localDaemonAddress