- added possibility to drag & drop FlatCAM config files (*.FlatConfig) into the canvas to be opened into the application
This commit is contained in:
parent
531beb1d97
commit
1fca6ef1bf
|
@ -2068,6 +2068,7 @@ class App(QtCore.QObject):
|
|||
self.dxf_list = ['dxf']
|
||||
self.pdf_list = ['pdf']
|
||||
self.prj_list = ['flatprj']
|
||||
self.conf_list = ['flatconfig']
|
||||
|
||||
# global variable used by NCC Tool to signal that some polygons could not be cleared, if True
|
||||
# flag for polygons not cleared
|
||||
|
|
|
@ -15,6 +15,7 @@ CAD program, and create G-Code for Isolation routing.
|
|||
- projects at startup don't work in another thread so there is no multithreading if I want to double click an project and to load it
|
||||
- added messages in the application window title which show the progress in loading a project (which is not thread-safe therefore keeping the app from fully initialize until finished)
|
||||
- in NCC Tool added a new parameter (radio button) that offer the choice on the order of the tools both in tools table and in execution of engraving; added as a parameter also in Edit -> Preferences -> Tools -> NCC Tool
|
||||
- added possibility to drag & drop FlatCAM config files (*.FlatConfig) into the canvas to be opened into the application
|
||||
|
||||
17.08.2019
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue