mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
No need to set limit with setFilterFid
This commit is contained in:
parent
eb8eb59680
commit
89a06f6907
@ -3325,7 +3325,6 @@ static QVariant fcnGetFeatureById( const QVariantList &values, const QgsExpressi
|
||||
|
||||
QgsFeatureRequest req;
|
||||
req.setFilterFid( fid );
|
||||
req.setLimit( 1 );
|
||||
QgsFeatureIterator fIt = vl->getFeatures( req );
|
||||
|
||||
QgsFeature fet;
|
||||
|
Loading…
x
Reference in New Issue
Block a user