diff options
author | Calum Lind <calumlind@gmail.com> | 2018-11-06 12:16:05 +0100 |
---|---|---|
committer | Calum Lind <calumlind@gmail.com> | 2018-11-06 12:16:20 +0100 |
commit | 2bb9a8e71c82e40b8374ab533662291039ee8f0c (patch) | |
tree | be5c65a656018b141e72eb3b44111ebea02b7961 | |
parent | [GTK] Fix systray popup TypeError (diff) | |
download | deluge-2bb9a8e71c82e40b8374ab533662291039ee8f0c.tar.xz deluge-2bb9a8e71c82e40b8374ab533662291039ee8f0c.zip |
[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.
-rw-r--r-- | deluge/ui/gtk3/preferences.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |