forked from Public/monero-gui
main: fix UI freeze on close in remote node mode
This commit is contained in:
3
main.qml
3
main.qml
@@ -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.");
|
||||||
|
|||||||
Reference in New Issue
Block a user