- fixed the Drillcncjob Tcl command by adding an custom self.options key "Tools_in_use" and build it's value, in case it does not exist, to make the toolchange command work
- middle mouse click on closable tabs will close them
This commit is contained in:
@@ -737,7 +737,7 @@ class ToolsDB(QtWidgets.QWidget):
|
||||
"A position on Z plane to move immediately after job stop."))
|
||||
|
||||
def setup_db_ui(self):
|
||||
filename = self.app.data_path + '/tools_db.FlatDB'
|
||||
filename = self.app.data_path + '/geo_tools_db.FlatDB'
|
||||
|
||||
# load the database tools from the file
|
||||
try:
|
||||
@@ -1174,7 +1174,7 @@ class ToolsDB(QtWidgets.QWidget):
|
||||
def on_save_tools_db(self, silent=False):
|
||||
self.app.log.debug("ToolsDB.on_save_button() --> Saving Tools Database to file.")
|
||||
|
||||
filename = self.app.data_path + "/tools_db.FlatDB"
|
||||
filename = self.app.data_path + "/geo_tools_db.FlatDB"
|
||||
|
||||
# Preferences save, update the color of the Tools DB Tab text
|
||||
for idx in range(self.app.ui.plot_tab_area.count()):
|
||||
|
||||
Reference in New Issue
Block a user