- some UI changes in the common object UI

This commit is contained in:
Marius Stanciu
2020-01-30 06:26:14 +02:00
committed by Marius
parent a44d7b97b5
commit ece94b7f60
3 changed files with 51 additions and 51 deletions

View File

@@ -2695,20 +2695,16 @@ class FlatCAMExcellon(FlatCAMObj, Excellon):
self.ui.tools_table.setMaximumHeight(self.ui.tools_table.getHeight())
if not self.drills:
self.ui.tdlabel.hide()
self.ui.tooldia_entry.hide()
self.ui.generate_milling_button.hide()
else:
self.ui.tdlabel.show()
self.ui.tooldia_entry.show()
self.ui.generate_milling_button.show()
if not self.slots:
self.ui.stdlabel.hide()
self.ui.slot_tooldia_entry.hide()
self.ui.generate_milling_slots_button.hide()
else:
self.ui.stdlabel.show()
self.ui.slot_tooldia_entry.show()
self.ui.generate_milling_slots_button.show()