mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
fix note not displaying when preview toggled off & on
This commit is contained in:
parent
8ed069d4a6
commit
e4eaebe2fb
1 changed files with 1 additions and 0 deletions
|
@ -1263,6 +1263,7 @@ where id in %s""" % ids2str(sf))
|
||||||
|
|
||||||
def _openPreview(self):
|
def _openPreview(self):
|
||||||
self._previewState = "question"
|
self._previewState = "question"
|
||||||
|
self._lastPreviewState = None
|
||||||
self._previewWindow = QDialog(None, Qt.Window)
|
self._previewWindow = QDialog(None, Qt.Window)
|
||||||
self._previewWindow.setWindowTitle(_("Preview"))
|
self._previewWindow.setWindowTitle(_("Preview"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue