Skip to content

Commit

Permalink
point locator: Do not set feature limit in feature request
Browse files Browse the repository at this point in the history
Otherwise we will not be able to detect that the locator creation has been cancelled
  • Loading branch information
wonder-sk committed Jan 27, 2016
1 parent a88c93b commit 193d377
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/qgspointlocator.cpp
Expand Up @@ -646,7 +646,6 @@ bool QgsPointLocator::rebuildIndex( int maxFeaturesToIndex )

QgsFeatureRequest request;
request.setSubsetOfAttributes( QgsAttributeList() );
request.setLimit( maxFeaturesToIndex );
if ( mExtent )
{
QgsRectangle rect = *mExtent;
Expand Down

0 comments on commit 193d377

Please sign in to comment.