- removed the raise statement in do_worker_task() function as this is fatal in conjunction with PyQt5

- added a try - except clause for the situations when for a font can't be determined the family and name
- moved font parsing to the Geometry Editor: it is done everytime the Text tool is invoked
- made sure that the HPGL postprocessor is not populated in the Excellon postprocessors in Preferences as it make no sense (HPGL is useful only for Geometries)
This commit is contained in:
Marius Stanciu
2019-01-21 01:17:04 +02:00
committed by Marius S
parent f242e3163e
commit e6d431c9e3
6 changed files with 34 additions and 11 deletions

View File

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