- 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:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user