1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-11 08:33:55 +01:00

Check before disconnecting wallet

This commit is contained in:
xmrdsc 2019-05-02 14:57:44 +02:00
parent 97cd215491
commit 5d3fe93e1f

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