diff --git a/aqt/addcards.py b/aqt/addcards.py index d4e7e27c8..b97b559a4 100644 --- a/aqt/addcards.py +++ b/aqt/addcards.py @@ -176,6 +176,7 @@ class AddCards(QDialog): The input you have provided would make an empty \ question on all cards."""), help="AddItems") return + self.mw.col.clearUndo() self.addHistory(note) self.mw.requireReset() self.previousNote = note