From 42f80880370ec7ff39dc0e328def8a9c3883626d Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 20 Dec 2012 18:46:02 +0900 Subject: [PATCH] hide the marked tag as it's listed at the top --- aqt/browser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aqt/browser.py b/aqt/browser.py index 91de9368f..98b0930e4 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -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"))