Skip to content
Permalink
Browse files
Update form feature with live values
  • Loading branch information
m-kuhn authored and github-actions committed Nov 24, 2021
1 parent a3d806f commit f808b6c01f6f334efb2b16968bf340133afd7377
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsattributeform.cpp
@@ -553,6 +553,7 @@ void QgsAttributeForm::updateValuesDependenciesDefaultValues( const int originId
QgsExpressionContext context = createExpressionContext( updatedFeature );
const QVariant value = mLayer->defaultValue( eww->fieldIdx(), updatedFeature, &context );
eww->setValue( value );
mCurrentFormFeature.setAttribute( eww->field().name(), value );
}
}
}

0 comments on commit f808b6c

Please sign in to comment.