Merge pull request #2312 from return42/fix-1020-part-2

[fix] categories can't be removed from UI (categories_as_tabs)
This commit is contained in:
Markus Heiser 2023-04-06 10:36:51 +02:00 committed by GitHub
commit 64e221426a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,10 @@ def update_settings(default_settings, user_settings):
else:
default_settings[k] = v
categories_as_tabs = user_settings.get('categories_as_tabs')
if categories_as_tabs:
default_settings['categories_as_tabs'] = categories_as_tabs
# parse the engines
remove_engines = None
keep_only_engines = None