- changes in Excellon Editor in resize section

This commit is contained in:
Marius Stanciu 2019-04-01 03:24:21 +03:00
parent 40c8ef1cf8
commit 7702eb1705
1 changed files with 40 additions and 36 deletions

View File

@ -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")