fixing crash when reviewing cards after adding new facts
This commit is contained in:
parent
73d3c28843
commit
7c68db24e1
@ -31,7 +31,7 @@ class Anki:
|
|||||||
|
|
||||||
deck = self.deck()
|
deck = self.deck()
|
||||||
deck.setUndoStart(action)
|
deck.setUndoStart(action)
|
||||||
deck.addFact(fact)
|
deck.addFact(fact, False)
|
||||||
deck.setUndoEnd(action)
|
deck.setUndoEnd(action)
|
||||||
deck.rebuildCounts()
|
deck.rebuildCounts()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user