fix: correct config attribute from 'config' to 'widget' in set_config method
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user