- fixed the issue in Milling Plugin that did not automatically set the object combo to the previously selected object
This commit is contained in:
@@ -686,9 +686,6 @@ class ExcellonObject(FlatCAMObj, Excellon):
|
||||
|
||||
def on_milling_button_clicked(self):
|
||||
self.app.milling_tool.run(toggle=True)
|
||||
self.app.milling_tool.ui.target_radio.set_value('exc')
|
||||
current_obj = self.app.collection.get_active()
|
||||
self.app.milling_tool.ui.object_combo.set_value(current_obj.options['name'])
|
||||
|
||||
def export_excellon(self, whole, fract, e_zeros=None, form='dec', factor=1, slot_type='routing'):
|
||||
"""
|
||||
|
||||
@@ -462,9 +462,6 @@ class GeometryObject(FlatCAMObj, Geometry):
|
||||
|
||||
def on_milling_button_clicked(self):
|
||||
self.app.milling_tool.run(toggle=True)
|
||||
self.app.milling_tool.ui.target_radio.set_value('geo')
|
||||
current_obj = self.app.collection.get_active()
|
||||
self.app.milling_tool.ui.object_combo.set_value(current_obj.options['name'])
|
||||
|
||||
def on_calculate_vertex_points(self):
|
||||
self.app.log.debug("GeometryObject.on_calculate_vertex_points()")
|
||||
|
||||
Reference in New Issue
Block a user