- 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

@@ -815,7 +815,7 @@ class AppIO(QtCore.QObject):
# close any editor that might be open
if self.app.call_source != 'app':
self.app.editor2object(cleanup=True)
self.app.on_editing_finished(cleanup=True)
# ## EDITOR section
self.app.geo_editor = AppGeoEditor(self.app)
self.app.exc_editor = AppExcEditor(self.app)