diff options
| author | tassaron | 2017-07-25 22:02:47 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-25 22:02:47 -0400 |
| commit | 15d70474d4df16cd03f4eb672d409166f793eabf (patch) | |
| tree | 2792cc1b4122a6cd748273b91d14635a049da3d1 /src/mainwindow.py | |
| parent | 661526b0739115594fda4c0e876398cdc940fbe1 (diff) | |
error can be locked within properties()
and simplified the componenterrors again
Diffstat (limited to 'src/mainwindow.py')
| -rw-r--r-- | src/mainwindow.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainwindow.py b/src/mainwindow.py index 3cc5d26..e478d19 100644 --- a/src/mainwindow.py +++ b/src/mainwindow.py @@ -573,16 +573,16 @@ class MainWindow(QtWidgets.QMainWindow): @QtCore.pyqtSlot(str, str) def videoThreadError(self, msg, detail): - self.showMessage( - msg=msg, - detail=detail, - icon='Warning', - ) try: self.stopVideo() except AttributeError as e: if 'videoWorker' not in str(e): raise + self.showMessage( + msg=msg, + detail=detail, + icon='Warning', + ) def changeEncodingStatus(self, status): self.encoding = status |
