mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
Force save daemon flags
This commit is contained in:
parent
9689fff957
commit
8eb4f0db2a
1 changed files with 3 additions and 1 deletions
|
@ -362,6 +362,7 @@ Rectangle{
|
|||
if (appWindow.daemonRunning) {
|
||||
appWindow.stopDaemon();
|
||||
} else {
|
||||
persistentSettings.daemonFlags = daemonFlags.text;
|
||||
appWindow.startDaemon(persistentSettings.daemonFlags);
|
||||
}
|
||||
}
|
||||
|
@ -407,8 +408,9 @@ Rectangle{
|
|||
labelText: qsTr("Daemon startup flags") + translationManager.emptyString
|
||||
placeholderText: qsTr("(optional)") + translationManager.emptyString
|
||||
placeholderFontSize: 15 * scaleRatio
|
||||
text: appWindow.persistentSettings.daemonFlags
|
||||
text: persistentSettings.daemonFlags
|
||||
addressValidation: false
|
||||
onEditingFinished: persistentSettings.daemonFlags = daemonFlags.text;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue