diff --git a/main.qml b/main.qml index 1f734801..f0e37f36 100644 --- a/main.qml +++ b/main.qml @@ -2113,8 +2113,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.");