mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
if type in the answer field doesn't exist, disable
This commit is contained in:
parent
26e7428f16
commit
b6eca72d88
1 changed files with 1 additions and 0 deletions
|
@ -173,6 +173,7 @@ class View(object):
|
|||
cor = stripHTML(self.main.currentCard.fact[
|
||||
self.main.currentCard.cardModel.typeAnswer])
|
||||
except KeyError:
|
||||
self.main.currentCard.cardModel.typeAnswer = ""
|
||||
cor = ""
|
||||
if cor:
|
||||
given = unicode(self.main.typeAnswerField.text())
|
||||
|
|
Loading…
Reference in a new issue