diff options
Diffstat (limited to 'dimension/preview.py')
-rw-r--r-- | dimension/preview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dimension/preview.py b/dimension/preview.py index bc8e105..e4e9c80 100644 --- a/dimension/preview.py +++ b/dimension/preview.py @@ -58,7 +58,7 @@ class PreviewWindow(QtGui.QMainWindow): @QtCore.pyqtSlot() def update_preview(self): self.widget.updateGL() - if self.future.progress() == 1: + if self.future.is_done(): self.render_timer.stop() self.close_timer = QtCore.QTimer(self) self.close_timer.singleShot(1000, self.close) |