From ca69198097d24b51096cefa05876f73c67a24879 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 9 Jul 2022 12:24:43 +1000 Subject: [PATCH] Tweak type-answer example so users don't think the spelling is a mistake https://github.com/ankitects/anki/pull/1954 --- qt/aqt/clayout.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qt/aqt/clayout.py b/qt/aqt/clayout.py index e10a7dcd6..1919afa98 100644 --- a/qt/aqt/clayout.py +++ b/qt/aqt/clayout.py @@ -571,7 +571,7 @@ class CardLayout(QDialog): hadHR = origLen != len(txt) def answerRepl(match: Match) -> str: - res = self.mw.reviewer.correct("exomple", "an example") + res = self.mw.reviewer.correct("example", "sample") if hadHR: res = f"
{res}" return res @@ -579,7 +579,7 @@ class CardLayout(QDialog): repl: Union[str, Callable] if type == "q": - repl = "" + repl = "" repl = f"
{repl}
" else: repl = answerRepl