mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
fix card.template() in card layout screen
https://forums.ankiweb.net/t/card-template-does-not-work-when-called-in-card-will-show-hook-in-template-editor/2798
This commit is contained in:
parent
9fcd6c66f4
commit
3f403040db
1 changed files with 1 additions and 0 deletions
|
@ -529,6 +529,7 @@ class CardLayout(QDialog):
|
||||||
fill_empty=self.fill_empty_action_toggled,
|
fill_empty=self.fill_empty_action_toggled,
|
||||||
).render()
|
).render()
|
||||||
card.set_render_output(output)
|
card.set_render_output(output)
|
||||||
|
card._note = self.note
|
||||||
return card
|
return card
|
||||||
|
|
||||||
# Card operations
|
# Card operations
|
||||||
|
|
Loading…
Reference in a new issue