Call startEditing before / stopEditing after tagging

This commit is contained in:
David Bailey 2017-08-05 09:24:03 +01:00
parent 4e9f96460b
commit 3f755cbd08

View File

@ -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):