Revert "Update src/core/qgsvectorlayerutils.cpp"

This reverts commit f4d7e73a545dcf2604b93f55f5b0030a5a29440a.
This commit is contained in:
Alessandro Pasotti 2019-02-20 08:42:17 +01:00
parent f4d7e73a54
commit 443d860061

View File

@ -485,7 +485,7 @@ QgsFeatureList QgsVectorLayerUtils::createFeatures( const QgsVectorLayer *layer,
// 1. passed attribute value and if field does not have a unique constraint like primary key
if ( fd.attributes().contains( idx ) )
{
v = fd.attributes().at( idx );
v = fd.attributes().value( idx );
}
// Cache unique values