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