fix card q/a cache not being saved

This commit is contained in:
Damien Elmes 2008-11-23 22:19:00 +09:00
parent b6c227e382
commit db84671284

View file

@ -201,6 +201,7 @@ class AnkiQt(QMainWindow):
self.mainWin.fieldsArea.show()
self.editor.setFact(self.currentCard.fact)
elif state == "saveEdit":
self.deck.s.flush()
return self.moveToState("auto")
self.updateViews(state)