Skip to content

Commit

Permalink
Revert "Update src/core/qgsvectorlayerutils.cpp"
Browse files Browse the repository at this point in the history
This reverts commit f4d7e73.
  • Loading branch information
elpaso committed Feb 20, 2019
1 parent f4d7e73 commit 443d860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayerutils.cpp
Expand Up @@ -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 // 1. passed attribute value and if field does not have a unique constraint like primary key
if ( fd.attributes().contains( idx ) ) if ( fd.attributes().contains( idx ) )
{ {
v = fd.attributes().at( idx ); v = fd.attributes().value( idx );
} }


// Cache unique values // Cache unique values
Expand Down

0 comments on commit 443d860

Please sign in to comment.