config: Fix hiding of options from the configurator

This commit is contained in:
Nick Craig-Wood 2019-07-24 14:19:10 +01:00
parent 493dfb68fd
commit 8fdce31700

View file

@ -1085,7 +1085,9 @@ func editOptions(ri *fs.RegInfo, name string, isNew bool) {
continue
}
}
FileSet(name, option.Name, ChooseOption(&option, name))
if option.Hide&fs.OptionHideConfigurator == 0 {
FileSet(name, option.Name, ChooseOption(&option, name))
}
}
}
}