We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c68668 commit 78a3556Copy full SHA for 78a3556
src/gui/processing/qgsprocessingwidgetwrapper.cpp
@@ -237,9 +237,6 @@ QgsExpressionContext QgsAbstractProcessingParameterWidgetWrapper::createExpressi
237
238
QgsExpressionContext c = context->expressionContext();
239
240
- if ( linkedVectorLayer() )
241
- c << QgsExpressionContextUtils::layerScope( linkedVectorLayer() );
242
-
243
if ( mWidgetContext.model() )
244
{
245
const QgsProcessingAlgorithm *alg = nullptr;
@@ -259,6 +256,9 @@ QgsExpressionContext QgsAbstractProcessingParameterWidgetWrapper::createExpressi
259
256
c.setHighlightedFunctions( highlightedFunctions );
260
257
}
261
258
+ if ( linkedVectorLayer() )
+ c << QgsExpressionContextUtils::layerScope( linkedVectorLayer() );
+
262
return c;
263
264
0 commit comments