- ability to double click the FlatConfig files and open them in the FlatCAM Code Editor - fixed and verified

This commit is contained in:
Marius Stanciu
2019-02-23 22:16:53 +02:00
committed by Marius S
parent 1cab33314f
commit 322a63ef3b
2 changed files with 5 additions and 3 deletions

View File

@@ -1615,9 +1615,10 @@ class App(QtCore.QObject):
if file_name == "":
self.inform.emit("Open Config file failed.")
else:
run_from_arg = True
self.worker_task.emit({'fcn': self.open_config_file,
'params': [file_name, run_from_arg]})
# run_from_arg = True
# self.worker_task.emit({'fcn': self.open_config_file,
# 'params': [file_name, run_from_arg]})
self.open_config_file(file_name, run_from_arg=True)
except Exception as e:
log.debug("Could not open FlatCAM Config file as App parameter due: %s" % str(e))