Skip to content

Commit

Permalink
Update src/core/qgsvectorlayerutils.cpp
Browse files Browse the repository at this point in the history
Co-Authored-By: elpaso <elpaso@itopen.it>
  • Loading branch information
m-kuhn and elpaso committed Feb 20, 2019
1 parent d239ea2 commit f4d7e73
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
if ( fd.attributes().contains( idx ) )
{
v = fd.attributes().value( idx );
v = fd.attributes().at( idx );
}

// Cache unique values
Expand Down

0 comments on commit f4d7e73

Please sign in to comment.