We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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