- modified the CNCJob UI to add a shortcut button for the Levelling Plugin

This commit is contained in:
Marius Stanciu
2021-03-08 02:10:04 +02:00
committed by Marius
parent f9d496f1e0
commit d464c1e18a
4 changed files with 96 additions and 73 deletions

View File

@@ -484,6 +484,8 @@ class CNCJobObject(FlatCAMObj, CNCjob):
# Include CNC Job Snippets changed
self.ui.snippets_cb.toggled.connect(self.on_update_source_file)
self.ui.autolevel_button.clicked.connect(lambda: self.app.levelling_tool.run(toggle=True))
# ###################################### END Signal connections ###############################################
# #############################################################################################################