- wip for multithreading in PDF Tool

This commit is contained in:
Marius Stanciu
2019-04-24 16:37:16 +03:00
committed by Marius
parent e8f6b1a9ae
commit c0716f22e5
2 changed files with 27 additions and 23 deletions

View File

@@ -3051,6 +3051,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
'params': [self.filename, object_type, None]})
if extension in self.app.pdf_list:
self.app.pdf_tool.periodic_check(1000)
self.app.worker_task.emit({'fcn': self.app.pdf_tool.open_pdf,
'params': [self.filename]})