mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-28 21:55:30 +00:00
[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.
This commit is contained in:
parent
39783c7703
commit
2bb9a8e71c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue