main: fix UI freeze on close in remote node mode

This commit is contained in:
xiphon 2019-06-18 11:23:13 +00:00
parent 68c7cf7276
commit 55ad5886b4

View file

@ -2106,8 +2106,7 @@ ApplicationWindow {
} }
// If daemon is running - prompt user before exiting // If daemon is running - prompt user before exiting
if(typeof daemonManager != "undefined" && daemonManager.running(persistentSettings.nettype)) { if(typeof daemonManager != "undefined" && daemonRunning) {
// Show confirmation dialog // Show confirmation dialog
confirmationDialog.title = qsTr("Daemon is running") + translationManager.emptyString; confirmationDialog.title = qsTr("Daemon is running") + translationManager.emptyString;
confirmationDialog.text = qsTr("Daemon will still be running in background when GUI is closed."); confirmationDialog.text = qsTr("Daemon will still be running in background when GUI is closed.");