Fix #1246: Losing Labels upon restart

This commit is contained in:
Calum Lind 2011-06-27 02:33:50 +01:00
parent 01465f583f
commit f7c21fd87b
2 changed files with 6 additions and 1 deletions

View File

@ -19,6 +19,9 @@
=== AutoAdd === === AutoAdd ===
* #1861: Fix AutoAdd Warning (column number is a boolean) * #1861: Fix AutoAdd Warning (column number is a boolean)
=== Label ===
* #1246: Fix losing Labels upon restart
=== Deluge 1.3.2 (24 May 2011) === === Deluge 1.3.2 (24 May 2011) ===
==== Core ==== ==== Core ====
* #1527: Fix Converting unicode to unicode error in move_storage * #1527: Fix Converting unicode to unicode error in move_storage

View File

@ -110,7 +110,9 @@ class Core(CorePluginBase):
self.clean_initial_config() self.clean_initial_config()
component.get("EventManager").register_event_handler("TorrentAddedEvent", self.post_torrent_add) def on_session_started():
component.get("EventManager").register_event_handler("TorrentAddedEvent", self.post_torrent_add)
component.get("EventManager").register_event_handler("SessionStartedEvent", on_session_started)
component.get("EventManager").register_event_handler("TorrentRemovedEvent", self.post_torrent_remove) component.get("EventManager").register_event_handler("TorrentRemovedEvent", self.post_torrent_remove)
#register tree: #register tree: