From 14c884b6acbcc04cd0f73e1865fee9cfec8802c3 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Fri, 13 Nov 2020 17:53:48 +0200 Subject: [PATCH] - Milling Tool - made sure that on target object change the UI is build again --- CHANGELOG.md | 1 + appTools/ToolMilling.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 860c26a2..7cba5174 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ CHANGELOG for FlatCAM beta - started to work in Milling Tool - designing the Tool UI - Milling Tool - finished the UI and also the button handlers in the Geometry and Excellon objects Properties UI - Milling Tool - fixed the situation when launching the Tool but there is no object loaded +- Milling Tool - made sure that on target object change the UI is build again 12.11.2020 diff --git a/appTools/ToolMilling.py b/appTools/ToolMilling.py index 5ec2237f..3c11e1c0 100644 --- a/appTools/ToolMilling.py +++ b/appTools/ToolMilling.py @@ -818,6 +818,8 @@ class ToolMilling(AppTool, Excellon): self.ui.add_tool_frame.show() + self.build_ui() + def on_object_changed(self): # load the Milling object self.obj_name = self.ui.object_combo.currentText()