From d35343881f35614c5da01d2fc9fec4623d9f0e18 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Sun, 25 Aug 2019 20:48:44 +0300 Subject: [PATCH] - fixed issue #298. The changes in postprocessors done in Preferences dis not update the object UI layout as it was supposed to. The selection of Marlin postproc. did not unhidden the Feedrate Rapids entry. --- FlatCAMObj.py | 10 ++++++++++ README.md | 1 + 2 files changed, 11 insertions(+) diff --git a/FlatCAMObj.py b/FlatCAMObj.py index 3bdc791a..a045ab33 100644 --- a/FlatCAMObj.py +++ b/FlatCAMObj.py @@ -2112,6 +2112,11 @@ class FlatCAMExcellon(FlatCAMObj, Excellon): # Fill form fields self.to_form() + # update the changes in UI depending on the selected postprocessor in Preferences + # after this moment all the changes in the Posprocessor combo will be handled by the activated signal of the + # self.ui.pp_excellon_name_cb combobox + self.on_pp_changed() + # initialize the dict that holds the tools offset t_default_offset = self.app.defaults["excellon_offset"] if not self.tool_offset: @@ -3300,6 +3305,11 @@ class FlatCAMGeometry(FlatCAMObj, Geometry): # Fill form fields only on object create self.to_form() + # update the changes in UI depending on the selected postprocessor in Preferences + # after this moment all the changes in the Posprocessor combo will be handled by the activated signal of the + # self.ui.pp_geometry_name_cb combobox + self.on_pp_changed() + self.ui.tipdialabel.hide() self.ui.tipdia_entry.hide() self.ui.tipanglelabel.hide() diff --git a/README.md b/README.md index 9773461a..42b08720 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ CAD program, and create G-Code for Isolation routing. - remade the NCC Tool in preparation for the newly added TclCommand CopperClear - finished adding the TclCommandCopperClear that can be called with alias: 'ncc' - added new capability in NCC Tool when the reference object is of Gerber type and fixed some newly introduced errors +- fixed issue #298. The changes in postprocessors done in Preferences dis not update the object UI layout as it was supposed to. The selection of Marlin postproc. did not unhidden the Feedrate Rapids entry. 24.08.2019