diff options
| author | tassaron | 2017-07-11 06:06:22 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-11 06:06:22 -0400 |
| commit | 2e37dafd7036973a315b525f131850a6fb6d0b35 (patch) | |
| tree | 090e5b29c706f38945209e33161b4cc9713782f2 /src/video_thread.py | |
| parent | 4c3920e6309b4e67e3d8d809dd0b5b6cd245fd0c (diff) | |
fixed various bugs
Diffstat (limited to 'src/video_thread.py')
| -rw-r--r-- | src/video_thread.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/video_thread.py b/src/video_thread.py index dde71da..b00d512 100644 --- a/src/video_thread.py +++ b/src/video_thread.py @@ -151,6 +151,15 @@ class Worker(QtCore.QObject): progressBarSetText=self.progressBarSetText ) + if 'error' in comp.properties(): + self.canceled = True + errMsg = "Component #%s encountered an error!" % compNo \ + if comp.error() is None else comp.error() + self.parent.showMessage( + msg=errMsg, + icon='Warning', + parent=None # MainWindow is in a different thread + ) if 'static' in comp.properties(): self.staticComponents[compNo] = \ comp.frameRender(compNo, 0).copy() |
