- in the new Tools DB added ability to double click on the ID in the tree widget to execute adding a tool from DB

This commit is contained in:
Marius Stanciu
2020-03-29 21:10:30 +03:00
parent 4aeadde3da
commit a872a958ca
5 changed files with 28 additions and 14 deletions

View File

@@ -4423,6 +4423,7 @@ class ToolPaint(FlatCAMTool, Gerber):
self.app.ui.plot_tab_area.setCurrentWidget(self.app.tools_db_tab)
break
self.app.on_tools_database(source='paint')
self.app.tools_db_tab.ok_to_add = True
self.app.tools_db_tab.buttons_frame.hide()
self.app.tools_db_tab.add_tool_from_db.show()
self.app.tools_db_tab.cancel_tool_from_db.show()