Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix preview expression for feature lists using variables
  • Loading branch information
m-kuhn authored and nyalldawson committed Mar 28, 2023
1 parent 5f67ab8 commit 3302b02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsfeatureexpressionvaluesgatherer.h
Expand Up @@ -21,6 +21,7 @@
#include "qgslogger.h"
#include "qgsvectorlayer.h"
#include "qgsvectorlayerfeatureiterator.h"
#include "qgsexpressioncontextutils.h"

#define SIP_NO_FILE

Expand Down Expand Up @@ -52,6 +53,7 @@ class QgsFeatureExpressionValuesGatherer: public QThread
const QStringList &identifierFields = QStringList() )
: mSource( new QgsVectorLayerFeatureSource( layer ) )
, mDisplayExpression( displayExpression.isEmpty() ? layer->displayExpression() : displayExpression )
, mExpressionContext( QgsExpressionContextUtils::globalProjectLayerScopes( layer ) )
, mRequest( request )
, mIdentifierFields( identifierFields )
{
Expand Down

0 comments on commit 3302b02

Please sign in to comment.