include note id in state

to make sure we refresh when multiple notes have same mod time
This commit is contained in:
Damien Elmes 2019-02-26 11:21:25 +10:00
parent c07f2d0747
commit fed15f5b90

View File

@ -1436,7 +1436,8 @@ where id in %s""" % ids2str(sf))
self._renderPreview()
def _previewStateAndMod(self):
return (self._previewState, self.card.note().mod)
n = self.card.note()
return (self._previewState, n.id, n.mod)
# Card deletion
######################################################################