From 2bb9a8e71c82e40b8374ab533662291039ee8f0c Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Tue, 6 Nov 2018 11:16:05 +0000 Subject: [PATCH] [GTK] Fix tray preferences greyed out When not connected the tray preferences should still be available. There is no need to have the `is_connected` applied to widget sensitivity here as that is set elsewhere in the code. --- deluge/ui/gtk3/preferences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtk3/preferences.py b/deluge/ui/gtk3/preferences.py index e5cb6ba9a..8d2c194a5 100644 --- a/deluge/ui/gtk3/preferences.py +++ b/deluge/ui/gtk3/preferences.py @@ -1052,7 +1052,7 @@ class Preferences(component.Component): else: depwidget = self.builder.get_object(dep) sensitive = [not value, value][dependency[dep]] - depwidget.set_sensitive(sensitive and self.is_connected) + depwidget.set_sensitive(sensitive) if dep in dependents: update_dependent_widgets(dep, depwidget.get_active() and sensitive)