From 4329b0e947471ced7ca0b3460a5f40e2703117e9 Mon Sep 17 00:00:00 2001 From: tassaron Date: Tue, 25 Jul 2017 22:14:34 -0400 Subject: don't]] always trigger error() --- src/video_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_thread.py b/src/video_thread.py index 48f3729..c5a3c09 100644 --- a/src/video_thread.py +++ b/src/video_thread.py @@ -164,7 +164,7 @@ class Worker(QtCore.QObject): pass compProps = comp.properties() - if 'error' in compProps or comp.error() is not None: + if 'error' in compProps or comp._lockedError is not None: self.cancel() self.canceled = True canceledByComponent = True -- cgit v1.2.3