- trying to solve an idiosyncrasy of MacOS which do not allow modifying the main menu in a non-main thread which is done after editing an object

This commit is contained in:
Marius Stanciu
2023-11-14 21:49:17 +02:00
parent a7c909273b
commit 4458249ee5
13 changed files with 100 additions and 95 deletions

View File

@@ -164,7 +164,7 @@ class ExcellonObject(FlatCAMObj, Excellon):
self.ui.autoload_db_cb.stateChanged.connect(self.on_autoload_db_toggled)
# Editor
self.ui.editor_button.clicked.connect(lambda: self.app.object2editor())
self.ui.editor_button.clicked.connect(lambda: self.app.on_editing_start())
# Properties
self.ui.info_button.toggled.connect(self.on_properties)