Merge pull request #19 from techdavid/tag-suspend-bugfix
Call startEditing before / stopEditing after tagging
This commit is contained in:
commit
f48e6431b5
@ -376,7 +376,9 @@ class AnkiBridge:
|
||||
|
||||
|
||||
def addTags(self, notes, tags, add=True):
|
||||
self.startEditing()
|
||||
aqt.mw.col.tags.bulkAdd(notes, tags, add)
|
||||
self.stopEditing()
|
||||
|
||||
|
||||
def suspend(self, cards, suspend=True):
|
||||
|
Loading…
Reference in New Issue
Block a user