Skip to content

added fix for #281#282

Merged
rozyczko merged 1 commit into
developfrom
281-dependent-parameters-does-not-update-the-calculator
Jul 27, 2026
Merged

added fix for #281#282
rozyczko merged 1 commit into
developfrom
281-dependent-parameters-does-not-update-the-calculator

Conversation

@rozyczko

Copy link
Copy Markdown
Member

Dependent parameters did not properly push their updated values to a callback when their dependencies changed.

This fixes it by calling the callback set function with the updated value any time the value changes.

@rozyczko rozyczko added [scope] bug Bug report or fix (major.minor.PATCH) [priority] highest Urgent. Needs attention ASAP [area] parameters and descriptors Anything related to Parameters or Descriptors labels Jul 27, 2026

@damskii9992 damskii9992 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Although I find it really stupid that we keep 2 copies of each paramters value stored. One in the Parameter and one in the interface. We should just remove the one in the interface and have the interface get its value from the Parameter instead of having this stupid syncronization, but that is a task for later :/

@damskii9992 damskii9992 linked an issue Jul 27, 2026 that may be closed by this pull request
@rozyczko
rozyczko merged commit 2013cf5 into develop Jul 27, 2026
35 checks passed
@rozyczko
rozyczko deleted the 281-dependent-parameters-does-not-update-the-calculator branch July 27, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[area] parameters and descriptors Anything related to Parameters or Descriptors [priority] highest Urgent. Needs attention ASAP [scope] bug Bug report or fix (major.minor.PATCH)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dependent Parameters do not update the calculator

2 participants