- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user