Skip to content

Commit

Permalink
use directly relation id from private variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ostr00000 authored and nyalldawson committed Oct 9, 2024
1 parent b5f34cc commit 6b2ef01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/editform/qgsattributeeditorrelation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ QgsAttributeEditorElement *QgsAttributeEditorRelation::clone( QgsAttributeEditor

void QgsAttributeEditorRelation::saveConfiguration( QDomElement &elem, QDomDocument &doc ) const
{
elem.setAttribute( QStringLiteral( "relation" ), mRelation.id() );
elem.setAttribute( QStringLiteral( "relation" ), mRelationId );
elem.setAttribute( QStringLiteral( "forceSuppressFormPopup" ), mForceSuppressFormPopup );
elem.setAttribute( QStringLiteral( "nmRelationId" ), mNmRelationId.toString() );
elem.setAttribute( QStringLiteral( "label" ), mLabel );
Expand Down

0 comments on commit 6b2ef01

Please sign in to comment.