- the Editors require an Object UI build before launching; I've added the required code so the shortcut keys work even if the Properties tab is not current

This commit is contained in:
Marius Stanciu
2021-10-08 12:47:15 +03:00
parent 6f884f4d64
commit e7fd78ea28
2 changed files with 3 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ CHANGELOG for FlatCAM beta
- the Plugins object combo boxes are no longer updated on object selection on Project tab generally but only for the Plugin that is current, if any
- in Corner Markers Plugin I added a new feature, ability to insert existing markers into external objects. Finished the work for external Gerbers and work in progress for the external Geometry
- the Editors require an Object UI build before launching; I've added the required code so the shortcut keys work even if the Properties tab is not current
7.10.2021

View File

@@ -2537,6 +2537,8 @@ class App(QtCore.QObject):
self.defaults.report_usage("object2editor()")
edited_object = self.collection.get_active()
edited_object.build_ui()
self.ui.notebook.setCurrentWidget(self.ui.properties_tab)
if edited_object and edited_object.kind in ['cncjob', 'excellon', 'geometry', 'gerber']:
pass