mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-07-15 11:41:46 +08:00
Fix: exclude 'not_available' entries from Setting.settings (#5813)
This commit is contained in:
@@ -47,6 +47,8 @@ class Setting:
|
||||
if isinstance(option_buttons, ButtonGrid):
|
||||
option_buttons = option_buttons.buttons
|
||||
for option, option_name in zip(option_buttons, option_names):
|
||||
if option_name == 'not_available':
|
||||
continue
|
||||
self.settings[(setting, option_name)] = option
|
||||
|
||||
if option_default not in option_names:
|
||||
|
||||
Reference in New Issue
Block a user