Module: deluge
Branch: 1.3-stable
Commit: 3417caf1d2b9afab51bf4564f10d7437f9044793

Author: John Garland <[email protected]>
Date:   Sun May  9 17:50:39 2010 +1000

Fix label plugin not remembering newly created labels

---

 deluge/plugins/label/label/core.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/deluge/plugins/label/label/core.py 
b/deluge/plugins/label/label/core.py
index f26f9fc..70b8e35 100644
--- a/deluge/plugins/label/label/core.py
+++ b/deluge/plugins/label/label/core.py
@@ -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):

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to