mirror of
https://github.com/monero-project/monero-gui
synced 2025-01-08 18:26:23 +01:00
Merge pull request #2149
5d3fe93
Check before disconnecting wallet (xmrdsc)
This commit is contained in:
commit
1fcd79729c
3
main.qml
3
main.qml
@ -587,6 +587,9 @@ ApplicationWindow {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function disconnectRemoteNode() {
|
function disconnectRemoteNode() {
|
||||||
|
if (typeof currentWallet === "undefined" || currentWallet === null)
|
||||||
|
return;
|
||||||
|
|
||||||
console.log("disconnecting remote node");
|
console.log("disconnecting remote node");
|
||||||
persistentSettings.useRemoteNode = false;
|
persistentSettings.useRemoteNode = false;
|
||||||
currentDaemonAddress = localDaemonAddress
|
currentDaemonAddress = localDaemonAddress
|
||||||
|
Loading…
Reference in New Issue
Block a user