- Isolation Tool - modified the UI; preparing to add new feature of polishing at the end of the milling job

- Tool Paint - fixed an issue when launching the tool and an object other than Geometry or Excellon is selected
This commit is contained in:
Marius Stanciu
2020-07-11 03:27:28 +03:00
parent 9c928e7ce8
commit ddfc8cf6dc
4 changed files with 91 additions and 15 deletions

View File

@@ -590,9 +590,10 @@ class ToolPaint(AppTool, Gerber):
active = self.app.collection.get_active()
kind = active.kind
if kind == 'gerber':
self.ui.type_obj_radio.set_value('gerber')
self.ui.type_obj_radio.set_value(kind)
else:
self.ui.type_obj_radio.set_value('geometry')
kind = 'geometry'
self.ui.type_obj_radio.set_value(kind)
# run those once so the obj_type attribute is updated in the FCComboBoxes
# to make sure that the last loaded object is displayed in the combobox