- Milling Tool - made sure that on target object change the UI is build again

This commit is contained in:
Marius Stanciu
2020-11-13 17:53:48 +02:00
parent f23f4bc740
commit 14c884b6ac
2 changed files with 3 additions and 0 deletions

View File

@@ -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

View File

@@ -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()