mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Label Plugin: Disable menu items for 'All' in sidebar
This commit is contained in:
parent
3c7f492451
commit
07e166b94a
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class LabelSidebarMenu(object):
|
|||
for item in self.items:
|
||||
item.show()
|
||||
#default items
|
||||
sensitive = ((label not in (NO_LABEL, None, "")) and (cat != "cat"))
|
||||
sensitive = ((label not in (NO_LABEL, None, "", "All")) and (cat != "cat"))
|
||||
for item in self.items:
|
||||
item.set_sensitive(sensitive)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue