mirror of https://github.com/searxng/searxng.git
Merge 018abdcd80
into 0f9694c90b
This commit is contained in:
commit
ba6456ca81
|
@ -260,7 +260,8 @@ class BooleanChoices:
|
||||||
|
|
||||||
disabled = self.transform_form_items(items)
|
disabled = self.transform_form_items(items)
|
||||||
for setting in self.choices:
|
for setting in self.choices:
|
||||||
self.choices[setting] = setting not in disabled
|
if setting in disabled:
|
||||||
|
self.choices[setting] = False
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def enabled(self):
|
def enabled(self):
|
||||||
|
|
Loading…
Reference in New Issue