mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
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:
parent
32288a1bf6
commit
96fd3de6e5
1 changed files with 1 additions and 1 deletions
|
@ -755,7 +755,7 @@ 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":
|
if t.lower() == "marked" or t.lower() == "leech":
|
||||||
continue
|
continue
|
||||||
item = self.CallbackItem(
|
item = self.CallbackItem(
|
||||||
t, lambda t=t: self.setFilter("tag", t))
|
t, lambda t=t: self.setFilter("tag", t))
|
||||||
|
|
Loading…
Reference in a new issue