Skip to content

BF: Param updates control should be enabled when there's a Static Component#6462

Merged
TEParsons merged 1 commit intopsychopy:devfrom
TEParsons:dev-sound-set-isi
May 15, 2024
Merged

BF: Param updates control should be enabled when there's a Static Component#6462
TEParsons merged 1 commit intopsychopy:devfrom
TEParsons:dev-sound-set-isi

Conversation

@TEParsons
Copy link
Copy Markdown
Contributor

Otherwise, parameters with only one option for their update method (i.e. Sound.sound) can never be set via an ISI as the control detects that there's only one option and disables.

Fix is to disable based on the final number of options once the control is created, rather than the theoretical number of options based on allowedUpdates

@TEParsons TEParsons merged commit 7969ebb into psychopy:dev May 15, 2024
@TEParsons TEParsons deleted the dev-sound-set-isi branch May 30, 2024 14:37
@peircej peircej added the 🐞 bug Issue describes a bug (crash or error) or undefined behavior. label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Issue describes a bug (crash or error) or undefined behavior.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants