From c0e061a9f48a8f4d95251cf9f2ca7cb41173f074 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 12 Jun 2013 11:22:13 +0900 Subject: [PATCH] make sure we show correct version when nothing typed in --- aqt/reviewer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/reviewer.py b/aqt/reviewer.py index ebb5eb1e5..13305c7df 100644 --- a/aqt/reviewer.py +++ b/aqt/reviewer.py @@ -389,7 +389,7 @@ Please run Tools>Empty Cards""") def typeAnsAnswerFilter(self, buf): # tell webview to call us back with the input content self.web.eval("_getTypedText();") - if not self.typeCorrect or not self.typedAnswer: + if not self.typeCorrect: return re.sub(self.typeAnsPat, "", buf) origSize = len(buf) buf = buf.replace("
", "")