mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22: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[
|
cor = stripHTML(self.main.currentCard.fact[
|
||||||
self.main.currentCard.cardModel.typeAnswer])
|
self.main.currentCard.cardModel.typeAnswer])
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
self.main.currentCard.cardModel.typeAnswer = ""
|
||||||
cor = ""
|
cor = ""
|
||||||
if cor:
|
if cor:
|
||||||
given = unicode(self.main.typeAnswerField.text())
|
given = unicode(self.main.typeAnswerField.text())
|
||||||
|
|
Loading…
Reference in a new issue