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.");