1

fixing crash when reviewing cards after adding new facts

This commit is contained in:
Alex Yatskov 2011-10-08 11:05:00 -07:00
parent 73d3c28843
commit 7c68db24e1

View File

@ -31,7 +31,7 @@ class Anki:
deck = self.deck()
deck.setUndoStart(action)
deck.addFact(fact)
deck.addFact(fact, False)
deck.setUndoEnd(action)
deck.rebuildCounts()