Skip to content

Commit f4d7e73

Browse files
m-kuhnelpaso
andauthored
Update src/core/qgsvectorlayerutils.cpp
Co-Authored-By: elpaso <elpaso@itopen.it>
1 parent d239ea2 commit f4d7e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsvectorlayerutils.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ QgsFeatureList QgsVectorLayerUtils::createFeatures( const QgsVectorLayer *layer,
485485
// 1. passed attribute value and if field does not have a unique constraint like primary key
486486
if ( fd.attributes().contains( idx ) )
487487
{
488-
v = fd.attributes().value( idx );
488+
v = fd.attributes().at( idx );
489489
}
490490

491491
// Cache unique values

0 commit comments

Comments
 (0)