diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c7ee7f2..02f7ecd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ CHANGELOG for FlatCAM beta - working on adding new feature to Punch Gerber Tool - manual selection of pads to be punched - Punch Gerber Tool - added methods to draw the pads selected and some UI buttons to select all and clear all to help in the selection +- Milling Tool - default state is for all the tools in the Tools Table to be selected 14.11.2020 diff --git a/appTools/ToolMilling.py b/appTools/ToolMilling.py index 5e69721b..56d3a253 100644 --- a/appTools/ToolMilling.py +++ b/appTools/ToolMilling.py @@ -668,6 +668,18 @@ class ToolMilling(AppTool, Excellon): self.ui_connect() + self.ui.geo_tools_table.selectAll() + + # set the text on tool_data_label after loading the object + sel_rows = set() + sel_items = self.ui.geo_tools_table.selectedItems() + for it in sel_items: + sel_rows.add(it.row()) + if len(sel_rows) > 1: + self.ui.tool_data_label.setText( + "%s: %s" % (_('Parameters for'), _("Multiple Tools")) + ) + def build_ui_exc(self): self.ui_disconnect()