mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-22 00:06:57 -04:00
Update src/core/qgsvectorlayerutils.cpp
Co-Authored-By: elpaso <elpaso@itopen.it>
This commit is contained in:
parent
d239ea2df9
commit
f4d7e73a54
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user