aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.py')
-rw-r--r--src/mainwindow.py10
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