mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
hide the marked tag as it's listed at the top
This commit is contained in:
parent
6e841b90e7
commit
42f8088037
1 changed files with 2 additions and 0 deletions
|
@ -745,6 +745,8 @@ by clicking on one on the left."""))
|
||||||
|
|
||||||
def _userTagTree(self, root):
|
def _userTagTree(self, root):
|
||||||
for t in sorted(self.col.tags.all()):
|
for t in sorted(self.col.tags.all()):
|
||||||
|
if t.lower() == "marked":
|
||||||
|
continue
|
||||||
item = self.CallbackItem(
|
item = self.CallbackItem(
|
||||||
t, lambda t=t: self.setFilter("tag", t))
|
t, lambda t=t: self.setFilter("tag", t))
|
||||||
item.setIcon(0, QIcon(":/icons/anki-tag.png"))
|
item.setIcon(0, QIcon(":/icons/anki-tag.png"))
|
||||||
|
|
Loading…
Reference in a new issue