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 493aed5 commit 2180b63Copy full SHA for 2180b63
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