mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
close preview window on collection close
This commit is contained in:
parent
35923630bf
commit
5bd2e10f3c
1 changed files with 1 additions and 0 deletions
|
@ -1217,6 +1217,7 @@ where id in %s""" % ids2str(sf))
|
|||
self._previewWindow.setWindowTitle(_("Preview"))
|
||||
|
||||
self._previewWindow.finished.connect(self._onPreviewFinished)
|
||||
self._previewWindow.silentlyClose = True
|
||||
vbox = QVBoxLayout()
|
||||
vbox.setContentsMargins(0,0,0,0)
|
||||
self._previewWeb = AnkiWebView()
|
||||
|
|
Loading…
Reference in a new issue