diff --git a/deluge/plugins/AutoAdd/deluge/plugins/autoadd/gtkui.py b/deluge/plugins/AutoAdd/deluge/plugins/autoadd/gtkui.py index 1c3e925b3..b369fc124 100644 --- a/deluge/plugins/AutoAdd/deluge/plugins/autoadd/gtkui.py +++ b/deluge/plugins/AutoAdd/deluge/plugins/autoadd/gtkui.py @@ -405,7 +405,6 @@ class GtkUI(GtkPluginBase): component.get("Preferences").add_page( _("AutoAdd"), self.glade.get_widget("prefs_box") ) - self.on_show_prefs() def disable(self): component.get("Preferences").remove_page(_("AutoAdd")) diff --git a/deluge/ui/gtkui/pluginmanager.py b/deluge/ui/gtkui/pluginmanager.py index b5169977d..a5bfcc819 100644 --- a/deluge/ui/gtkui/pluginmanager.py +++ b/deluge/ui/gtkui/pluginmanager.py @@ -93,6 +93,7 @@ class PluginManager(deluge.pluginmanagerbase.PluginManagerBase, def _on_plugin_enabled_event(self, name): self.enable_plugin(name) + self.run_on_show_prefs() def _on_plugin_disabled_event(self, name): self.disable_plugin(name)