mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
Merge pull request #2869
3d24300
SettingsNode: forbid 'data-dir', 'bootstrap-daemon-address' flags (xiphon)
This commit is contained in:
commit
4141832a4d
@ -398,7 +398,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 {
|
||||
|
Loading…
Reference in New Issue
Block a user