Skip to content

Commit 89a06f6

Browse files
committed
No need to set limit with setFilterFid
1 parent eb8eb59 commit 89a06f6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/core/expression/qgsexpressionfunction.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3325,7 +3325,6 @@ static QVariant fcnGetFeatureById( const QVariantList &values, const QgsExpressi
33253325

33263326
QgsFeatureRequest req;
33273327
req.setFilterFid( fid );
3328-
req.setLimit( 1 );
33293328
QgsFeatureIterator fIt = vl->getFeatures( req );
33303329

33313330
QgsFeature fet;

0 commit comments

Comments
 (0)