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

fixes #372124
This commit is contained in:
Denis Rouzaud 2020-06-15 13:48:14 +02:00 committed by GitHub
parent 118350880c
commit 0a0fc29385
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 )