Call startEditing before / stopEditing after tagging
This commit is contained in:
parent
4e9f96460b
commit
3f755cbd08
@ -376,7 +376,9 @@ class AnkiBridge:
|
|||||||
|
|
||||||
|
|
||||||
def addTags(self, notes, tags, add=True):
|
def addTags(self, notes, tags, add=True):
|
||||||
|
self.startEditing()
|
||||||
aqt.mw.col.tags.bulkAdd(notes, tags, add)
|
aqt.mw.col.tags.bulkAdd(notes, tags, add)
|
||||||
|
self.stopEditing()
|
||||||
|
|
||||||
|
|
||||||
def suspend(self, cards, suspend=True):
|
def suspend(self, cards, suspend=True):
|
||||||
|
Loading…
Reference in New Issue
Block a user