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,11 +1085,13 @@ func editOptions(ri *fs.RegInfo, name string, isNew bool) {
continue continue
} }
} }
if option.Hide&fs.OptionHideConfigurator == 0 {
FileSet(name, option.Name, ChooseOption(&option, name)) FileSet(name, option.Name, ChooseOption(&option, name))
} }
} }
} }
} }
}
// NewRemote make a new remote from its name // NewRemote make a new remote from its name
func NewRemote(name string) { func NewRemote(name string) {