mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04: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):
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue