[fix] use defaults of engines protected with tokens on preference save

This commit is contained in:
Martin Minka 2022-01-15 19:54:09 +01:00
parent 599d882d0a
commit ba89a6a30f

View file

@ -230,7 +230,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):