mirror of
https://github.com/ankitects/anki.git
synced 2025-11-14 00:27:13 -05:00
fix for mark cmd
This commit is contained in:
parent
c023837b76
commit
94bad194a6
1 changed files with 4 additions and 0 deletions
|
|
@ -825,6 +825,8 @@ where id in (%s)""" % ",".join([
|
||||||
def addTags(self, tags=None, label=None):
|
def addTags(self, tags=None, label=None):
|
||||||
if tags is None:
|
if tags is None:
|
||||||
(tags, r) = ui.utils.getTag(self, self.deck, _("Enter tags to add:"))
|
(tags, r) = ui.utils.getTag(self, self.deck, _("Enter tags to add:"))
|
||||||
|
else:
|
||||||
|
r = True
|
||||||
if label is None:
|
if label is None:
|
||||||
label = _("Add Tags")
|
label = _("Add Tags")
|
||||||
if r:
|
if r:
|
||||||
|
|
@ -838,6 +840,8 @@ where id in (%s)""" % ",".join([
|
||||||
def deleteTags(self, tags=None, label=None):
|
def deleteTags(self, tags=None, label=None):
|
||||||
if tags is None:
|
if tags is None:
|
||||||
(tags, r) = ui.utils.getTag(self, self.deck, _("Enter tags to delete:"))
|
(tags, r) = ui.utils.getTag(self, self.deck, _("Enter tags to delete:"))
|
||||||
|
else:
|
||||||
|
r = True
|
||||||
if label is None:
|
if label is None:
|
||||||
label = _("Delete Tags")
|
label = _("Delete Tags")
|
||||||
if r:
|
if r:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue