diff options
| author | xmrdsc <xmrdsc@protonmail.com> | 2019-05-02 14:57:44 +0200 |
|---|---|---|
| committer | xmrdsc <xmrdsc@protonmail.com> | 2019-05-02 16:27:35 +0200 |
| commit | 5d3fe93e1fa9926ccb276c1c24c995c89b3a39b8 (patch) | |
| tree | 2dd6bbc4bdafb30a24b9be9bbe2aea3d7c020d89 | |
| parent | 97cd215491a44c753ee1450712b3b8d93efdcc37 (diff) | |
| download | monzero-gui-5d3fe93e1fa9926ccb276c1c24c995c89b3a39b8.tar.gz monzero-gui-5d3fe93e1fa9926ccb276c1c24c995c89b3a39b8.tar.xz monzero-gui-5d3fe93e1fa9926ccb276c1c24c995c89b3a39b8.zip | |
Check before disconnecting wallet
| -rw-r--r-- | main.qml | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -588,6 +588,9 @@ ApplicationWindow { } function disconnectRemoteNode() { + if (typeof currentWallet === "undefined" || currentWallet === null) + return; + console.log("disconnecting remote node"); persistentSettings.useRemoteNode = false; currentDaemonAddress = localDaemonAddress |
