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

RelationReference save edits on embedded form #60932

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

signedav
Copy link
Contributor

You have been able to change values in the embedded form of the relation reference widget, but they were not stored. Only when changing something in the main form the save has been triggered (via vector layer modified).

Now it triggers the save of the embedded form whenever the "OK" button of t he main form is pressed or the index in the attribute table form view is changed.

This fixes #60806

…n the embedded form if existing.

This function is called on aboutToSave, an override of the WidgetWrapper that is triggered via notifyAboutToSave from the attribute form.
This fixes qgis#60806
Copy link

github-actions bot commented Mar 10, 2025

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit a0921b9)

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit a0921b9)

@github-actions github-actions bot added this to the 3.44.0 milestone Mar 10, 2025
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.

Relation Reference Embedded Form not updated
2 participants