Apply same fix to "leech" as "marked".

"Leech" does not need to be displayed in the taglist as a tag, as it is
already listed as a special item further up the list.
This commit is contained in:
Soren Bjornstad 2012-12-25 17:40:02 -06:00
parent 32288a1bf6
commit 96fd3de6e5

View File

@ -755,7 +755,7 @@ by clicking on one on the left."""))
def _userTagTree(self, root):
for t in sorted(self.col.tags.all()):
if t.lower() == "marked":
if t.lower() == "marked" or t.lower() == "leech":
continue
item = self.CallbackItem(
t, lambda t=t: self.setFilter("tag", t))