1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-27 00:53:43 +01:00

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