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
@ -529,6 +529,7 @@ class CardLayout(QDialog):
|
||||
fill_empty=self.fill_empty_action_toggled,
|
||||
).render()
|
||||
card.set_render_output(output)
|
||||
card._note = self.note
|
||||
return card
|
||||
|
||||
# Card operations
|
||||
|
Loading…
Reference in New Issue
Block a user