mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
make sure to save fields before previewing
This commit is contained in:
parent
d770008228
commit
54c1d253a3
1 changed files with 1 additions and 0 deletions
|
@ -785,6 +785,7 @@ class FactEditor(object):
|
|||
self.htmlEdit.setShown(toggle)
|
||||
|
||||
def onPreview(self):
|
||||
self.saveFields()
|
||||
PreviewDialog(self.parent, self.deck, self.fact)
|
||||
|
||||
# FIXME: in some future version, we should use a different delimiter, as
|
||||
|
|
Loading…
Reference in a new issue