mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Revert "Update src/core/qgsvectorlayerutils.cpp"
This reverts commit f4d7e73a545dcf2604b93f55f5b0030a5a29440a.
This commit is contained in:
parent
f4d7e73a54
commit
443d860061
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user