- Milling Tool - default state is for all the tools in the Tools Table to be selected
This commit is contained in:
committed by
Marius Stanciu
parent
9cff7ccaff
commit
07df345f12
@@ -11,6 +11,7 @@ CHANGELOG for FlatCAM beta
|
|||||||
|
|
||||||
- working on adding new feature to Punch Gerber Tool - manual selection of pads to be punched
|
- 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
|
- 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
|
14.11.2020
|
||||||
|
|
||||||
|
|||||||
@@ -668,6 +668,18 @@ class ToolMilling(AppTool, Excellon):
|
|||||||
|
|
||||||
self.ui_connect()
|
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(
|
||||||
|
"<b>%s: <font color='#0000FF'>%s</font></b>" % (_('Parameters for'), _("Multiple Tools"))
|
||||||
|
)
|
||||||
|
|
||||||
def build_ui_exc(self):
|
def build_ui_exc(self):
|
||||||
self.ui_disconnect()
|
self.ui_disconnect()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user