Compare commits

...

3 Commits

Author SHA1 Message Date
k2s 95aca5d41c
Merge 018abdcd80 into f05566d925 2024-09-12 16:58:41 +08:00
Martin Minka 018abdcd80 Merge branch 'master' into engines-with-token
* master: (92 commits)
  [pylint] engines/currency_convert.py
  Update searx.data - update_firefox_version.py
  Update searx.data - update_ahmia_blacklist.py
  Update searx.data - update_currencies.py
  Update searx.data - update_wikidata_units.py
  [build] /static
  [simple] improve margin of #linkto_preferences
  [fix] engines description - currency_convert.py
  [simple] add aria-label to preferences link
  [simple] link preferences on /about and /stats
  [mod] tineye engine: minor changes
  [fix] 1x engine
  [build] /static
  [simple] introduce page_with_header.html template
  [mod] tineye engine: set engine_type to 'online_url_search'
  [enh] implement a OnlineUrlSearchProcessor
  Fix setup.py help folder
  [build] /static
  [fix] simple theme: /preferences: cookies table is LTR
  [mod] remove deprecate code
  ...
2022-02-01 08:21:26 +01:00
Martin Minka ba89a6a30f [fix] use defaults of engines protected with tokens on preference save 2022-01-15 19:54:09 +01:00
1 changed files with 2 additions and 1 deletions

View File

@ -260,7 +260,8 @@ class BooleanChoices:
disabled = self.transform_form_items(items)
for setting in self.choices:
self.choices[setting] = setting not in disabled
if setting in disabled:
self.choices[setting] = False
@property
def enabled(self):