diff --git a/FlatCAMApp.py b/FlatCAMApp.py index b1ca9e15..9d13083b 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -2439,6 +2439,8 @@ class App(QtCore.QObject): self.ui.showMaximized() else: self.ui.show() + else: + self.ui.show() # ##################################################################################### # ########################## START-UP ARGUMENTS ####################################### @@ -2580,6 +2582,7 @@ class App(QtCore.QObject): proc_arg = argument.lower() for ext in exc_list: proc_ext = ext.replace(' ', '') + proc_ext = '.%s' % proc_ext if proc_ext.lower() in proc_arg and proc_ext != '': file_name = str(argument) if file_name == "": @@ -2591,7 +2594,9 @@ class App(QtCore.QObject): gco_list = self.ui.fa_defaults_form.fa_gcode_group.gco_list_text.get_value().split(',') for ext in gco_list: proc_ext = ext.replace(' ', '') + proc_ext = '.%s' % proc_ext if proc_ext.lower() in proc_arg and proc_ext != '': + print(proc_ext, proc_arg) file_name = str(argument) if file_name == "": self.inform.emit(_("Open GCode file failed.")) @@ -2602,6 +2607,7 @@ class App(QtCore.QObject): grb_list = self.ui.fa_defaults_form.fa_gerber_group.grb_list_text.get_value().split(',') for ext in grb_list: proc_ext = ext.replace(' ', '') + proc_ext = '.%s' % proc_ext if proc_ext.lower() in proc_arg and proc_ext != '': file_name = str(argument) if file_name == "": diff --git a/README.md b/README.md index 723e6d40..19efbb79 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,9 @@ CAD program, and create G-Code for Isolation routing. 18.09.2019 -- added more funtionality to the Extension registration with FLatCAM and added to the GUI in Edit -> Preferences -> Utilities +- added more functionality to the Extension registration with FLatCAM and added to the GUI in Edit -> Preferences -> Utilities +- fixed the parsing of the Manufacturing files when double clicking them and they are registered with FlatCAM +- fixed showing the GUI when some settings (maximized_GUI) are missing from QSettings 17.09.2019