- added PDF file as type in the Recent File list and capability to load it from there
- PDF's can be drag & dropped on the GUI to be loaded
This commit is contained in:
@@ -3015,6 +3015,10 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
||||
self.app.worker_task.emit({'fcn': self.app.import_dxf,
|
||||
'params': [self.filename, object_type, None]})
|
||||
|
||||
if extension in self.app.pdf_list:
|
||||
self.app.worker_task.emit({'fcn': self.app.pdf_tool.open_pdf,
|
||||
'params': [self.filename]})
|
||||
|
||||
if extension in self.app.prj_list:
|
||||
# self.app.open_project() is not Thread Safe
|
||||
self.app.open_project(self.filename)
|
||||
|
||||
Reference in New Issue
Block a user