From 94bad194a68187bd92319c796461377bcb328ac6 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 19 Nov 2009 12:56:44 +0900 Subject: [PATCH] fix for mark cmd --- ankiqt/ui/cardlist.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ankiqt/ui/cardlist.py b/ankiqt/ui/cardlist.py index eeb050b9d..6ff9c8dd5 100644 --- a/ankiqt/ui/cardlist.py +++ b/ankiqt/ui/cardlist.py @@ -825,6 +825,8 @@ where id in (%s)""" % ",".join([ def addTags(self, tags=None, label=None): if tags is None: (tags, r) = ui.utils.getTag(self, self.deck, _("Enter tags to add:")) + else: + r = True if label is None: label = _("Add Tags") if r: @@ -838,6 +840,8 @@ where id in (%s)""" % ",".join([ def deleteTags(self, tags=None, label=None): if tags is None: (tags, r) = ui.utils.getTag(self, self.deck, _("Enter tags to delete:")) + else: + r = True if label is None: label = _("Delete Tags") if r: