- in Milling Plugin made sure that the UI is updated correctly when changing the type of target object depending on the Basic/Advanced mode

This commit is contained in:
Marius Stanciu
2021-12-24 04:49:34 +02:00
committed by Marius
parent 03f096a1cd
commit f3d379e4af
2 changed files with 6 additions and 0 deletions

View File

@@ -1351,6 +1351,8 @@ class ToolMilling(AppTool, Excellon):
last_key = list(obj.tools.keys())[-1]
self.to_form(storage=obj.tools[last_key]['data'])
self.on_level_changed(self.ui.level.isChecked())
def on_object_changed(self):
# print(self.app.ui.notebook.currentWidget().objectName() != 'plugin_tab')
if not self.app.ui.notebook.tabText(2) != _("Milling Tool"):