diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index a97b20268..f3f3fb650 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -347,8 +347,11 @@ Please do not file a bug report with Anki.

""") return if self.state == "showQuestion": if evt.key() in (Qt.Key_Enter, - Qt.Key_Return, - Qt.Key_Space): + Qt.Key_Return): + evt.accept() + return self.mainWin.showAnswerButton.click() + elif evt.key() == Qt.Key_Space and not ( + self.currentCard.cardModel.typeAnswer): evt.accept() return self.mainWin.showAnswerButton.click() elif self.state == "showAnswer":