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']:
|
if value not in config['choices']:
|
||||||
return
|
return
|
||||||
|
|
||||||
config['config'].set_value(value) # type: ignore
|
config['widget'].set_value(value) # type: ignore
|
||||||
if self._save_config(config):
|
if self._save_config(config):
|
||||||
config['value'] = value
|
config['value'] = value
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user