mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
treat preview window as a separate main window
This commit is contained in:
parent
d44348ea47
commit
8594c65510
1 changed files with 1 additions and 1 deletions
|
|
@ -953,7 +953,7 @@ where id in %s""" % ids2str(sf))
|
|||
def _openPreview(self):
|
||||
c = self.connect
|
||||
self._previewState = "question"
|
||||
self._previewWindow = QDialog()
|
||||
self._previewWindow = QDialog(None, Qt.Window)
|
||||
self._previewWindow.setWindowTitle(_("Preview"))
|
||||
c(self._previewWindow, SIGNAL("finished(int)"), self._onPreviewFinished)
|
||||
vbox = QVBoxLayout()
|
||||
|
|
|
|||
Loading…
Reference in a new issue