- Pdf Import plugin: fixed an issue with assigning a wrong property to a Qtimer

- Extract Plugin and Punch gerber Plugin: fixed a wrong build of the UI triggered even those tools where not launched yet
This commit is contained in:
Marius Stanciu
2023-05-31 13:46:17 +03:00
parent 26e0653eeb
commit eb0f687bdc
5 changed files with 141 additions and 3 deletions

View File

@@ -109,6 +109,8 @@ class ToolPunchGerber(AppTool, Gerber):
self.old_name = grb_obj.obj_options['name']
self.build_tool_ui()
def run(self, toggle=True):
self.app.defaults.report_usage("ToolPunchGerber()")
@@ -209,7 +211,6 @@ class ToolPunchGerber(AppTool, Gerber):
self.ui.rectangular_cb.stateChanged.connect(self.build_tool_ui)
self.ui.other_cb.stateChanged.connect(self.build_tool_ui)
self.ui.gerber_object_combo.currentIndexChanged.connect(self.build_tool_ui)
self.ui.gerber_object_combo.currentIndexChanged.connect(self.on_object_combo_changed)
self.ui.punch_type_radio.activated_custom.connect(self.on_punch_type)