diff --git a/deluge/plugins/label/label/gtkui/label_config.py b/deluge/plugins/label/label/gtkui/label_config.py index b22c767fa..8ae295aaf 100644 --- a/deluge/plugins/label/label/gtkui/label_config.py +++ b/deluge/plugins/label/label/gtkui/label_config.py @@ -61,6 +61,7 @@ class LabelConfig(object): def unload(self): self.plugin.remove_preferences_page("Label") + self.plugin.deregister_hook("on_apply_prefs", self.on_apply_prefs) self.plugin.deregister_hook("on_show_prefs", self.load_settings) def get_resource(self, filename):