Fix label plugin not remembering newly created labels

This commit is contained in:
John Garland 2010-05-09 17:50:39 +10:00
parent ba514f0b0e
commit b33c2abf82
1 changed files with 1 additions and 0 deletions

View File

@ -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):