Force save daemon flags

This commit is contained in:
dsc 2019-01-30 15:09:45 +01:00
parent 9689fff957
commit 8eb4f0db2a
No known key found for this signature in database
GPG key ID: 7BBC83D7A8810AAB

View file

@ -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;
}
}