Skip to content
Permalink
Browse files

fix setting of feature in expression preview widget (#37221)

fixes #372124
  • Loading branch information
3nids committed Jun 15, 2020
1 parent 1183508 commit 0a0fc2938570e5f76622e56d4dbb7e342eadd97b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsfeaturepickermodel.cpp
@@ -27,7 +27,7 @@ QgsFeaturePickerModel::QgsFeaturePickerModel( QObject *parent )
setFetchGeometry( true );
setExtraIdentifierValueUnguarded( nullIentifier() );

connect( this, &QgsFeaturePickerModelBase::extraIdentifierValueIndexChanged, this, [ = ]() {emit featureChanged( QgsFeature( sourceLayer()->fields() ) );} );
connect( this, &QgsFeaturePickerModelBase::extraIdentifierValueIndexChanged, this, [ = ]() {emit featureChanged( feature() );} );
}

void QgsFeaturePickerModel::requestToReloadCurrentFeature( QgsFeatureRequest &request )

0 comments on commit 0a0fc29

Please sign in to comment.
You can’t perform that action at this time.