From c63e96d45c923f0109449dc1dee22010d5fa834c Mon Sep 17 00:00:00 2001 From: Timo Paulssen Date: Thu, 4 Dec 2008 17:00:30 +0100 Subject: [PATCH] fixed: suspended appeared twice among tags after using active tags dialog. --- ankiqt/ui/activetags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ankiqt/ui/activetags.py b/ankiqt/ui/activetags.py index 7bfcc6a7a..d9b4eeed0 100644 --- a/ankiqt/ui/activetags.py +++ b/ankiqt/ui/activetags.py @@ -4,7 +4,7 @@ from PyQt4.QtGui import * from PyQt4.QtCore import * import ankiqt -from anki.utils import parseTags, joinTags +from anki.utils import parseTags, joinTags, canonifyTags from ankiqt.ui.utils import saveGeom, restoreGeom class ActiveTagsChooser(QDialog): @@ -45,7 +45,7 @@ class ActiveTagsChooser(QDialog): if self.dialog.list.selectionModel().isSelected(idx): suspended.append(self.tags[n]) n += 1 - self.parent.deck.suspended = joinTags(suspended + ["Suspended"]) + self.parent.deck.suspended = canonifyTags(joinTags(suspended + ["Suspended"])) self.parent.deck.setModified() self.parent.reset() saveGeom(self, "activeTags")