mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-22 19:49:34 +00:00
Settings: option to skip stop local node screen
This commit is contained in:
parent
ecf5c501d6
commit
0ded8dcf25
2 changed files with 8 additions and 1 deletions
3
main.qml
3
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();
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue