Skip to content

Fire correct signal type for checklist value changing#2147

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
ntjess:fix-checklist-changing
Dec 11, 2021
Merged

Fire correct signal type for checklist value changing#2147
j9ac9k merged 1 commit intopyqtgraph:masterfrom
ntjess:fix-checklist-changing

Conversation

@ntjess
Copy link
Copy Markdown
Contributor

@ntjess ntjess commented Dec 10, 2021

Not sure how I made it this far without noticing... Forwarding changing signals from checklist children show "true"/"false" as changing values, not self's value. This fixes the problem.

Also, "value" should represent the stored self.opts['value'] instead of the transient widget value. I fixed this with a separate childrenValue function which contains the transient widget value

Not sure how I made it this far without noticing... Forwarding changing signals from checklist children show "true"/"false" as changing values, not self's value. This fixes the problem.

Also, "value" should represent the stored `self.opts['value']` instead of the transient widget value. I fixed this with a separate `childrenValue` function which contains the transient widget value
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Dec 11, 2021

Thanks @ntjess this looks good to me!

@j9ac9k j9ac9k merged commit 561da0b into pyqtgraph:master Dec 11, 2021
@ntjess ntjess deleted the fix-checklist-changing branch January 9, 2022 15:35
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.

2 participants