- Excellon UI: made sure that when the Multicolor checkbox is unchecked, the color is updated in the Color column of the tools table

This commit is contained in:
Marius Stanciu
2020-07-21 07:20:14 +03:00
committed by Marius
parent 617b483267
commit 687efd1fc0
3 changed files with 31 additions and 13 deletions

View File

@@ -584,7 +584,7 @@ class ExcellonObjectUI(ObjectUI):
self.tools_table.setColumnCount(6)
self.tools_table.setHorizontalHeaderLabels(['#', _('Diameter'), _('Drills'), _('Slots'),
" ", 'P'])
"C", 'P'])
self.tools_table.setSortingEnabled(False)
self.tools_table.horizontalHeaderItem(0).setToolTip(
@@ -601,6 +601,8 @@ class ExcellonObjectUI(ObjectUI):
self.tools_table.horizontalHeaderItem(3).setToolTip(
_("The number of Slot holes. Holes that are created by\n"
"milling them with an endmill bit."))
self.tools_table.horizontalHeaderItem(4).setToolTip(
_("Show the color of the drill holes when using multi-color."))
self.tools_table.horizontalHeaderItem(5).setToolTip(
_("Toggle display of the drills for the current tool.\n"
"This does not select the tools for G-code generation."))