This commit is contained in:
k2s 2024-11-24 02:01:35 +00:00 committed by GitHub
commit ba6456ca81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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):