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

[Backport queued_ltr_backports] [ValueRelationWidget] Restore correctly value on widget value changed #59649

Merged

Conversation

qgis-bot
Copy link
Collaborator

Backport #59536
Authored by: @troopa81

When selecting several features on multiedit mode, widgets are
intialized in no known order (see
QgsAttributeForm::setMultiEditFeatureIds() ), and so we could
initialize a value relation widget before an other widget it is
related to (through its expression). That would cause the current
selected value to be lost.

So we need to restore properly this value on widget value changed.
@github-actions github-actions bot added this to the 3.42.0 milestone Nov 29, 2024
@nyalldawson nyalldawson merged commit 5ce97c5 into queued_ltr_backports Nov 29, 2024
31 checks passed
@nyalldawson nyalldawson deleted the backport-59536-to-queued_ltr_backports branch November 29, 2024 05:55
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.

3 participants