diff --git a/deluge/ui/gtkui/preferences.py b/deluge/ui/gtkui/preferences.py index d157f2f2e..e841c682d 100644 --- a/deluge/ui/gtkui/preferences.py +++ b/deluge/ui/gtkui/preferences.py @@ -948,7 +948,8 @@ class Preferences(component.Component): def _on_button_rescan_plugins_clicked(self, widget): component.get("PluginManager").scan_for_plugins() - client.core.rescan_plugins() + if client.connected(): + client.core.rescan_plugins() self.show() def _on_button_find_plugins_clicked(self, widget):