Merge pull request #359 from BigRoy/enhancement/maya_prompt_save_task_change_double

Maya: Fix: Do not always reset context on task change
This commit is contained in:
Kayla Man 2024-04-08 16:16:31 +08:00 committed by GitHub
commit 194e41563b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -653,10 +653,6 @@ def on_task_changed():
"Can't set project for new context because path does not exist: {}"
).format(workdir))
with lib.suspended_refresh():
lib.set_context_settings()
lib.update_content_on_context_change()
global _about_to_save
if not lib.IS_HEADLESS and _about_to_save:
# Let's prompt the user to update the context settings or not