mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 13:05:37 +00:00
Label Plugin: Disable menu items for 'All' in sidebar
This commit is contained in:
parent
3c7f492451
commit
07e166b94a
@ -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…
x
Reference in New Issue
Block a user