- 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

@@ -79,6 +79,8 @@ class ToolExtract(AppTool):
self.old_name = grb_obj.obj_options['name']
self.build_tool_ui()
def install(self, icon=None, separator=None, **kwargs):
AppTool.install(self, icon, separator, shortcut='Alt+I', **kwargs)
@@ -181,7 +183,6 @@ class ToolExtract(AppTool):
self.ui.other_cb.stateChanged.connect(self.build_tool_ui)
self.ui.gerber_object_combo.currentIndexChanged.connect(self.on_object_combo_changed)
self.ui.gerber_object_combo.currentIndexChanged.connect(self.build_tool_ui)
def set_tool_ui(self):
self.clear_ui(self.layout)