aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2019-06-18 11:23:13 +0000
committerxiphon <xiphon@protonmail.com>2019-06-18 11:23:13 +0000
commit55ad5886b417b6b765ca2b7f61a251d2877f89ed (patch)
treedf7f6afde24851aaffd653a1221e9493aa05883f
parent68c7cf7276b8192ef800e3ab8fcc51815fb9c1cc (diff)
downloadmonzero-gui-55ad5886b417b6b765ca2b7f61a251d2877f89ed.tar.gz
monzero-gui-55ad5886b417b6b765ca2b7f61a251d2877f89ed.tar.xz
monzero-gui-55ad5886b417b6b765ca2b7f61a251d2877f89ed.zip
main: fix UI freeze on close in remote node mode
-rw-r--r--main.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.qml b/main.qml
index 3299c629..3347dbd1 100644
--- a/main.qml
+++ b/main.qml
@@ -2106,8 +2106,7 @@ ApplicationWindow {
}
// If daemon is running - prompt user before exiting
- if(typeof daemonManager != "undefined" && daemonManager.running(persistentSettings.nettype)) {
-
+ if(typeof daemonManager != "undefined" && daemonRunning) {
// Show confirmation dialog
confirmationDialog.title = qsTr("Daemon is running") + translationManager.emptyString;
confirmationDialog.text = qsTr("Daemon will still be running in background when GUI is closed.");