Fix exception in label plugin when saving preferences
This commit is contained in:
parent
00e74c9491
commit
e1c5f69d54
@ -305,6 +305,7 @@ class Core(CorePluginBase):
|
|||||||
@export
|
@export
|
||||||
def set_config(self, options):
|
def set_config(self, options):
|
||||||
"""global_options:"""
|
"""global_options:"""
|
||||||
|
if options:
|
||||||
for key, value in options.items:
|
for key, value in options.items:
|
||||||
if key in CORE_OPTIONS:
|
if key in CORE_OPTIONS:
|
||||||
self.config[key] = value
|
self.config[key] = value
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user