treat preview window as a separate main window
This commit is contained in:
parent
d44348ea47
commit
8594c65510
@ -953,7 +953,7 @@ where id in %s""" % ids2str(sf))
|
|||||||
def _openPreview(self):
|
def _openPreview(self):
|
||||||
c = self.connect
|
c = self.connect
|
||||||
self._previewState = "question"
|
self._previewState = "question"
|
||||||
self._previewWindow = QDialog()
|
self._previewWindow = QDialog(None, Qt.Window)
|
||||||
self._previewWindow.setWindowTitle(_("Preview"))
|
self._previewWindow.setWindowTitle(_("Preview"))
|
||||||
c(self._previewWindow, SIGNAL("finished(int)"), self._onPreviewFinished)
|
c(self._previewWindow, SIGNAL("finished(int)"), self._onPreviewFinished)
|
||||||
vbox = QVBoxLayout()
|
vbox = QVBoxLayout()
|
||||||
|
Loading…
Reference in New Issue
Block a user