Skip to content

(re)Implementation of PR3431#2

Merged
Ashwolaa merged 2 commits intodevfrom
hotfix/type_saving_of_parameter_subclasses
May 7, 2026
Merged

(re)Implementation of PR3431#2
Ashwolaa merged 2 commits intodevfrom
hotfix/type_saving_of_parameter_subclasses

Conversation

@Ashwolaa
Copy link
Copy Markdown
Collaborator

Application of pyqtgraph#3431

Changes with 3431

  • Remove the TypeError and add a Warning in the Parameter.init() if the desired type is not registered or already used by another class.

  • Removing compare_parameters, the type/class should always match so pg.eq(state, restored.saveState()) is by default good enough as it recursively check for children's type.

@Ashwolaa Ashwolaa added the bug Something isn't working label Apr 28, 2026
@Ashwolaa Ashwolaa merged commit 304b658 into dev May 7, 2026
59 checks passed
@Ashwolaa Ashwolaa deleted the hotfix/type_saving_of_parameter_subclasses branch May 7, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant