We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 3947cb9 commit 6489b62Copy full SHA for 6489b62
src/gui/editorwidgets/core/qgseditorwidgetwrapper.cpp
@@ -114,6 +114,7 @@ void QgsEditorWidgetWrapper::updateConstraint( const QgsFeature &ft )
114
{
115
QgsExpressionContext context =
116
QgsExpressionContextUtils::createFeatureBasedContext( ft, *ft.fields() );
117
+ context << QgsExpressionContextUtils::layerScope( layer() );
118
119
context.setFeature( ft );
120
QgsExpression expr( expression );
0 commit comments