diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml index 9c6714f6..507dac87 100644 --- a/pages/settings/SettingsNode.qml +++ b/pages/settings/SettingsNode.qml @@ -412,7 +412,12 @@ Rectangle{ placeholderFontSize: 15 text: persistentSettings.daemonFlags addressValidation: false - onEditingFinished: persistentSettings.daemonFlags = daemonFlags.text; + error: text.match(/(^|\s)--(data-dir|bootstrap-daemon-address)/) + onEditingFinished: { + if (!daemonFlags.error) { + persistentSettings.daemonFlags = daemonFlags.text; + } + } } RowLayout {