Fix #1246: Losing Labels upon restart
This commit is contained in:
parent
01465f583f
commit
f7c21fd87b
|
@ -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
|
||||||
|
|
|
@ -110,7 +110,9 @@ class Core(CorePluginBase):
|
||||||
|
|
||||||
self.clean_initial_config()
|
self.clean_initial_config()
|
||||||
|
|
||||||
|
def on_session_started():
|
||||||
component.get("EventManager").register_event_handler("TorrentAddedEvent", self.post_torrent_add)
|
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:
|
||||||
|
|
Loading…
Reference in New Issue