mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 21:04:32 +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) {
|
if (appWindow.daemonRunning) {
|
||||||
appWindow.stopDaemon();
|
appWindow.stopDaemon();
|
||||||
} else {
|
} else {
|
||||||
|
persistentSettings.daemonFlags = daemonFlags.text;
|
||||||
appWindow.startDaemon(persistentSettings.daemonFlags);
|
appWindow.startDaemon(persistentSettings.daemonFlags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -407,8 +408,9 @@ Rectangle{
|
||||||
labelText: qsTr("Daemon startup flags") + translationManager.emptyString
|
labelText: qsTr("Daemon startup flags") + translationManager.emptyString
|
||||||
placeholderText: qsTr("(optional)") + translationManager.emptyString
|
placeholderText: qsTr("(optional)") + translationManager.emptyString
|
||||||
placeholderFontSize: 15 * scaleRatio
|
placeholderFontSize: 15 * scaleRatio
|
||||||
text: appWindow.persistentSettings.daemonFlags
|
text: persistentSettings.daemonFlags
|
||||||
addressValidation: false
|
addressValidation: false
|
||||||
|
onEditingFinished: persistentSettings.daemonFlags = daemonFlags.text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue