Skip to content

Commit

Permalink
Update form feature with live values
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and github-actions[bot] committed Nov 24, 2021
1 parent a3d806f commit f808b6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgsattributeform.cpp
Expand Up @@ -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 );
}
}
}
Expand Down

0 comments on commit f808b6c

Please sign in to comment.