- changes in Excellon Editor in resize section
This commit is contained in:
parent
40c8ef1cf8
commit
7702eb1705
|
@ -349,6 +349,7 @@ class FCDrillResize(FCShapeTool):
|
|||
|
||||
sel_shapes_to_be_deleted = []
|
||||
|
||||
if self.selected_dia_list:
|
||||
for sel_dia in self.selected_dia_list:
|
||||
self.current_storage = self.draw_app.storage_dict[sel_dia]
|
||||
for select_shape in self.draw_app.get_selected():
|
||||
|
@ -392,10 +393,13 @@ class FCDrillResize(FCShapeTool):
|
|||
|
||||
self.draw_app.build_ui()
|
||||
self.draw_app.replot()
|
||||
self.draw_app.app.inform.emit(_("[success] Done. Drill Resize completed."))
|
||||
|
||||
else:
|
||||
self.draw_app.app.inform.emit(_("[WARNING_NOTCL] Cancelled. No drills selected for resize ..."))
|
||||
|
||||
self.draw_app.resize_frame.hide()
|
||||
self.complete = True
|
||||
self.draw_app.app.inform.emit(_("[success] Done. Drill Resize completed."))
|
||||
|
||||
# MS: always return to the Select Tool
|
||||
self.draw_app.select_tool("select")
|
||||
|
|
Loading…
Reference in New Issue