Check before disconnecting wallet

This commit is contained in:
xmrdsc 2019-05-02 14:57:44 +02:00
parent 97cd215491
commit 5d3fe93e1f
1 changed files with 3 additions and 0 deletions

View File

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