Rearranged UI and improved library handling

This commit is contained in:
Patrick Felixberger
2020-04-21 23:01:17 +02:00
parent dc54f08020
commit 5df3bd337e
4 changed files with 170 additions and 132 deletions

View File

@@ -91,7 +91,7 @@ class CommandToolBitLibraryLoad:
library = PathToolBitLibraryGui.ToolBitLibrary()
if 1 == library.open(dialog=True) and job:
if 1 == library.open() and job:
for nr, tool in library.selectedOrAllTools():
tc = PathToolControllerGui.Create("TC: {}".format(tool.Label), tool, nr)
job.Proxy.addToolController(tc)