hide the marked tag as it's listed at the top

This commit is contained in:
Damien Elmes 2012-12-20 18:46:02 +09:00
parent 6e841b90e7
commit 42f8088037

View file

@ -745,6 +745,8 @@ by clicking on one on the left."""))
def _userTagTree(self, root):
for t in sorted(self.col.tags.all()):
if t.lower() == "marked":
continue
item = self.CallbackItem(
t, lambda t=t: self.setFilter("tag", t))
item.setIcon(0, QIcon(":/icons/anki-tag.png"))