- Milling Tool - trying to fix an error on dragging and dropping tools in the Geo Tools Table
This commit is contained in:
@@ -20,6 +20,7 @@ CHANGELOG for FlatCAM beta
|
||||
- Milling Tool - after creating and CNCJob object, it is now auto-selected and the Property tab is automatically switched to
|
||||
- Milling Tool - various fixes
|
||||
- Line_xyx preprocessor - fixed when using multidepth cut to use the right depth
|
||||
- Milling Tool - trying to fix an error on dragging and dropping tools in the Geo Tools Table
|
||||
|
||||
29.11.2020
|
||||
|
||||
|
||||
@@ -555,9 +555,13 @@ class ToolMilling(AppTool, Excellon):
|
||||
new_tools = {}
|
||||
new_uid = 1
|
||||
|
||||
for current_uid in current_uid_list:
|
||||
new_tools[new_uid] = deepcopy(self.tools[current_uid])
|
||||
new_uid += 1
|
||||
try:
|
||||
for current_uid in current_uid_list:
|
||||
new_tools[new_uid] = deepcopy(self.tools[current_uid])
|
||||
new_uid += 1
|
||||
except Exception as err:
|
||||
self.app.log.debug("ToolMilling.on_geo_rebuild_ui() -> %s" % str(err))
|
||||
return
|
||||
|
||||
self.tools = new_tools
|
||||
|
||||
|
||||
Reference in New Issue
Block a user