From 322a63ef3bd1cc31c5c45b92a2c6c00d46be4d08 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Sat, 23 Feb 2019 22:16:53 +0200 Subject: [PATCH] - ability to double click the FlatConfig files and open them in the FlatCAM Code Editor - fixed and verified --- FlatCAMApp.py | 7 ++++--- README.md | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 5e729d86..b8f58cc9 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -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)) diff --git a/README.md b/README.md index 11e66f11..8f2f0435 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ CAD program, and create G-Code for Isolation routing. - added ability to double click the FlatConfig files and open them in the FlatCAM Code Editor (to be verified) - when saving a file from Code Editor and there is no object active then the OpenFileDialog filters are reset to FlatConfig files. - reverted a change in GCode that might affect Gerber polarity change in Gerber parser +- ability to double click the FlatConfig files and open them in the FlatCAM Code Editor - fixed and verified 23.02.2019