mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
fix preview not updating when note edited
This commit is contained in:
parent
e4eaebe2fb
commit
838545b1d6
1 changed files with 3 additions and 1 deletions
|
|
@ -1438,7 +1438,9 @@ where id in %s""" % ids2str(sf))
|
|||
|
||||
def _previewStateAndMod(self):
|
||||
c = self.card
|
||||
return (self._previewState, c.id, c.note().mod)
|
||||
n = c.note()
|
||||
n.load()
|
||||
return (self._previewState, c.id, n.mod)
|
||||
|
||||
# Card deletion
|
||||
######################################################################
|
||||
|
|
|
|||
Loading…
Reference in a new issue