- added possibility to drag & drop FlatCAM config files (*.FlatConfig) into the canvas to be opened into the application

This commit is contained in:
Marius Stanciu
2019-08-18 03:11:19 +03:00
parent 531beb1d97
commit 1fca6ef1bf
3 changed files with 5 additions and 0 deletions

View File

@@ -3218,6 +3218,9 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
if extension in self.app.prj_list:
# self.app.open_project() is not Thread Safe
self.app.open_project(self.filename)
if extension in self.app.conf_list:
self.app.open_config_file(self.filename)
else:
event.ignore()
else: