mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
Check before disconnecting wallet
This commit is contained in:
parent
97cd215491
commit
5d3fe93e1f
3
main.qml
3
main.qml
@ -588,6 +588,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