- updated the Tool Database class to have the Isolation Tool data

- Isolation Tool - made to work the adding of tools from database
This commit is contained in:
Marius Stanciu
2020-05-28 02:40:25 +03:00
committed by Marius
parent b106081311
commit 5d813c1224
4 changed files with 158 additions and 3 deletions

View File

@@ -5292,7 +5292,13 @@ class App(QtCore.QObject):
callback_on_edited=self.on_tools_db_edited,
callback_on_tool_request=self.paint_tool.on_paint_tool_add_from_db_executed
)
elif source == 'iso':
self.tools_db_tab = ToolsDB2(
app=self,
parent=self.ui,
callback_on_edited=self.on_tools_db_edited,
callback_on_tool_request=self.isolation_tool.on_iso_tool_add_from_db_executed
)
# add the tab if it was closed
try:
self.ui.plot_tab_area.addTab(self.tools_db_tab, _("Tools Database"))