when previewing cards, use the default deck for now
Replay code needs to be able to retrieve deck options. We should probably use the current deck or pass it in in the future.
This commit is contained in:
parent
68e1303880
commit
ed52a4dc3f
@ -478,6 +478,7 @@ class CardLayout(QDialog):
|
||||
def ephemeral_card_for_rendering(self) -> Card:
|
||||
card = Card(self.col)
|
||||
card.ord = self.ord
|
||||
card.did = 1
|
||||
template = copy.copy(self.current_template())
|
||||
# may differ in cloze case
|
||||
template["ord"] = card.ord
|
||||
|
Loading…
Reference in New Issue
Block a user