diff options
| author | tassaron | 2022-05-02 19:39:21 -0400 |
|---|---|---|
| committer | tassaron | 2022-05-02 19:39:21 -0400 |
| commit | e8097b4065d257586ffa4a16f7ed98f4120656ca (patch) | |
| tree | 05ffd27265b5cbab967d345926bd7b3ad019471a /src/gui/mainwindow.py | |
| parent | fdbaf844230b01ff96f20863b762cc83fad34c38 (diff) | |
fixes #70 - store a ref to preview frame & update preview synchronously
removing the Python thread might not have been necessary. I will test this next
Diffstat (limited to 'src/gui/mainwindow.py')
| -rw-r--r-- | src/gui/mainwindow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/mainwindow.py b/src/gui/mainwindow.py index f6de763..2bfc4e3 100644 --- a/src/gui/mainwindow.py +++ b/src/gui/mainwindow.py @@ -4,7 +4,7 @@ This shows a preview of the video being created and allows for saving projects and exporting the video at a later time. ''' -from PyQt5 import QtCore, QtGui, QtWidgets, uic +from PyQt5 import QtCore, QtWidgets, uic import PyQt5.QtWidgets as QtWidgets from PIL import Image from queue import Queue @@ -754,7 +754,7 @@ class MainWindow(QtWidgets.QMainWindow): self.autosave() self.updateWindowTitle() - @QtCore.pyqtSlot(QtGui.QImage) + @QtCore.pyqtSlot('QImage') def showPreviewImage(self, image): self.previewWindow.changePixmap(image) |
