mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
reload card if there are registered hooks
https://forums.ankiweb.net/t/2-1-45-release-candidate/11362/54
This commit is contained in:
parent
156970c1b4
commit
03e76d522a
1 changed files with 2 additions and 0 deletions
|
@ -412,6 +412,8 @@ class Reviewer:
|
|||
)
|
||||
|
||||
def after_answer(changes: OpChanges) -> None:
|
||||
if gui_hooks.reviewer_did_answer_card.count() > 0:
|
||||
self.card.load()
|
||||
self._after_answering(ease)
|
||||
if sched.state_is_leech(answer.new_state):
|
||||
self.onLeech()
|
||||
|
|
Loading…
Reference in a new issue