fix: correct config attribute from 'config' to 'widget' in set_config method

This commit is contained in:
2025-09-30 18:56:47 +02:00
parent dcf4ef0f0a
commit e2c8352c44

View File

@@ -72,7 +72,7 @@ class GPhotoCamera(BaseCamera):
if value not in config['choices']:
return
config['config'].set_value(value) # type: ignore
config['widget'].set_value(value) # type: ignore
if self._save_config(config):
config['value'] = value