Skip to content
Permalink
Browse files

Merge pull request #36373 from m-kuhn/editable_read_only_fields

Commit changes from read only fields on the attribute form
  • Loading branch information
m-kuhn committed May 15, 2020
2 parents 0617e52 + eb7143c commit 26d5fb03d2b5c7ad1d03d404d0823ff224ac016d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsattributeform.cpp
@@ -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];

0 comments on commit 26d5fb0

Please sign in to comment.
You can’t perform that action at this time.