- in Tool Milling made sure that deleting the only tool will not crash the application

- added a new parameter in Preferences to control the number of processes created by the Pool() - more processes better performance but also a lot of memory consumed
- made sure that the display of messages in the Status Bar is done asap
This commit is contained in:
Marius Stanciu
2023-03-01 18:15:10 +02:00
parent 9d8852e611
commit 33de5314b1
7 changed files with 33 additions and 11 deletions

View File

@@ -402,7 +402,7 @@ class ToolMilling(AppTool, Excellon):
_("Copy"), self.on_tool_copy,
icon=QtGui.QIcon(self.app.resource_location + "/copy16.png"))
self.ui.geo_tools_table.addContextMenu(
_("Delete"), lambda: self.on_tool_delete(clicked_signal=None, all_tools=None),
_("Delete"), lambda: self.on_tool_delete(all_tools=None),
icon=QtGui.QIcon(self.app.resource_location + "/trash16.png"))
# #############################################################################################################