Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash when setting value for relation widget wrapper (#41653)
Calling setForeignKeys during updateValues would result in the widget wrapper catching the relation widget's changed signal, triggering an assert as the foreign keys don't match the form's feature's key (since that hasn't yet been set). In any case, setting the initial value for a editor widget wrapper must NOT be treated as a user-induced value change.
- Loading branch information
1 parent
6fea5c6
commit 19edc35
Showing
2 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters