From db84671284ed9439e2475ea048eb94c8699e7064 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 23 Nov 2008 22:19:00 +0900 Subject: [PATCH] fix card q/a cache not being saved --- ankiqt/ui/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 4f4b6c704..0b2ee16d0 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -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)