mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Merge 018abdcd80
into e4f8f0483f
This commit is contained in:
commit
3cb77baacb
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue