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

Don't handle valueChanged for each duplicate widget #52183

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

domi4484
Copy link
Contributor

Currently in the attribute form, if more widgets points to the same field, when one of them change value all the duplicates are updated in onAttributeChanged. During update they send the same valueChanged signal and onAttributeChanged is called again and again with the same value and field that was already handled.

This P.R. will block duplicate widgets from sending valueChanged signal in this context.
This fixes #50859

@m-kuhn m-kuhn merged commit 0ed927b into qgis:master Mar 13, 2023
@domi4484
Copy link
Contributor Author

@m-kuhn can we backport this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Range widget's glitches with decimals when appearing multiple time in form, making wrong input too easy
2 participants