mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
Fix label plugin not remembering newly created labels
This commit is contained in:
parent
1bcfc91c35
commit
3417caf1d2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue