aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.qml3
-rw-r--r--pages/settings/SettingsLayout.qml6
2 files changed, 8 insertions, 1 deletions
diff --git a/main.qml b/main.qml
index e736487e..2c18c952 100644
--- a/main.qml
+++ b/main.qml
@@ -1368,6 +1368,7 @@ ApplicationWindow {
}
property bool askDesktopShortcut: isLinux
+ property bool askStopLocalNode: true
property string language: 'English (US)'
property string language_wallet: 'English'
property string locale: 'en_US'
@@ -2123,7 +2124,7 @@ ApplicationWindow {
showProcessingSplash(qsTr("Checking local node status..."));
const handler = function(running) {
hideProcessingSplash();
- if (running) {
+ if (running && persistentSettings.askStopLocalNode) {
showDaemonIsRunningDialog(closeAccepted);
} else {
closeAccepted();
diff --git a/pages/settings/SettingsLayout.qml b/pages/settings/SettingsLayout.qml
index 0e54f018..6b56e7ab 100644
--- a/pages/settings/SettingsLayout.qml
+++ b/pages/settings/SettingsLayout.qml
@@ -155,6 +155,12 @@ Rectangle {
onMoved: persistentSettings.lockOnUserInActivityInterval = value
}
+ MoneroComponents.CheckBox {
+ checked: persistentSettings.askStopLocalNode
+ onClicked: persistentSettings.askStopLocalNode = !persistentSettings.askStopLocalNode
+ text: qsTr("Ask to stop local node during program exit") + translationManager.emptyString
+ }
+
//! Manage pricing
RowLayout {
MoneroComponents.CheckBox {