- 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

@@ -5715,7 +5715,7 @@ class AppGeoEditorUI:
# Signals
self.level.toggled.connect(self.on_level_changed)
self.exit_editor_button.clicked.connect(lambda: self.app.editor2object())
self.exit_editor_button.clicked.connect(lambda: self.app.on_editing_finished())
def on_param_click(self):
if self.param_button.get_value():