Fix label plugin not remembering newly created labels
This commit is contained in:
parent
ba514f0b0e
commit
b33c2abf82
|
@ -188,6 +188,7 @@ class Core(CorePluginBase):
|
||||||
CheckInput(not (label_id in self.labels) , _("Label already exists"))
|
CheckInput(not (label_id in self.labels) , _("Label already exists"))
|
||||||
|
|
||||||
self.labels[label_id] = dict(OPTIONS_DEFAULTS)
|
self.labels[label_id] = dict(OPTIONS_DEFAULTS)
|
||||||
|
self.config.save()
|
||||||
|
|
||||||
@export
|
@export
|
||||||
def remove(self, label_id):
|
def remove(self, label_id):
|
||||||
|
|
Loading…
Reference in New Issue