Skip to content

Commit

Permalink
Merge pull request #36373 from m-kuhn/editable_read_only_fields
Browse files Browse the repository at this point in the history
Commit changes from read only fields on the attribute form
  • Loading branch information
m-kuhn committed May 15, 2020
2 parents 0617e52 + eb7143c commit 26d5fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsattributeform.cpp
Expand Up @@ -356,7 +356,7 @@ bool QgsAttributeForm::saveEdits()
for ( int i = 0; i < dstVars.count(); i++ )
{

if ( !qgsVariantEqual( dstVars[i], srcVars[i] ) && srcVars[i].isValid() && fieldIsEditable( fieldIndexes[i] ) )
if ( !qgsVariantEqual( dstVars[i], srcVars[i] ) && srcVars[i].isValid() )
{
dst[fieldIndexes[i]] = srcVars[i];

Expand Down

0 comments on commit 26d5fb0

Please sign in to comment.