Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BF: Handle when Static tries to set param of deleted/disabled Component #5815

Merged
merged 1 commit into from Aug 16, 2023

Conversation

TEParsons
Copy link
Contributor

If you set a param in a Component to be "Update during: ", then its name gets added to said Static's list of Components to update. If you then disable that Component, Static will still try to update it despite it not existing at run time.

Fix is to just skip writing the Param setting code if the Component can't be found.

@TEParsons TEParsons merged commit 1c9e460 into psychopy:release Aug 16, 2023
2 checks passed
@TEParsons TEParsons deleted the release-static-disabled branch August 31, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant