fix config mapping for default_performance

This commit is contained in:
Manuel Schmid 2023-12-05 23:57:50 +01:00
parent 92a54cff22
commit 96523e9397
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ default_prompt = get_config_item_or_set_default(
default_performance = get_config_item_or_set_default(
key='default_performance',
default_value='Speed',
validator=lambda x: x in modules.flags.performance_selections
validator=lambda x: x in [y[1] for y in modules.flags.performance_selections if y[1] == x]
)
default_advanced_checkbox = get_config_item_or_set_default(
key='default_advanced_checkbox',