From 3f755cbd08ad9e1eaa3d8018255bf827949ba6f2 Mon Sep 17 00:00:00 2001 From: David Bailey Date: Sat, 5 Aug 2017 09:24:03 +0100 Subject: [PATCH] Call startEditing before / stopEditing after tagging --- AnkiConnect.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AnkiConnect.py b/AnkiConnect.py index f1e0aec..7d32328 100644 --- a/AnkiConnect.py +++ b/AnkiConnect.py @@ -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):