- fixed bug in Tool Sub that created issues when toggling visibility of the plots

This commit is contained in:
Marius Stanciu
2019-08-19 23:34:37 +03:00
committed by Marius
parent 1b6dd02217
commit 07c31bba22
5 changed files with 31 additions and 21 deletions

View File

@@ -7,6 +7,7 @@
# ########################################################## ##
from PyQt5 import QtCore
# import traceback
class Worker(QtCore.QObject):
@@ -60,6 +61,7 @@ class Worker(QtCore.QObject):
task['fcn'](*task['params'])
except Exception as e:
self.app.thread_exception.emit(e)
# print(traceback.format_exc())
# raise e
finally:
self.task_completed.emit(self.name)