fix preview not updating when note edited

This commit is contained in:
Damien Elmes 2019-04-08 15:18:40 +10:00
parent e4eaebe2fb
commit 838545b1d6

View file

@ -1438,7 +1438,9 @@ where id in %s""" % ids2str(sf))
def _previewStateAndMod(self): def _previewStateAndMod(self):
c = self.card 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 # Card deletion
###################################################################### ######################################################################