Skip to content

Commit

Permalink
fix #3424
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@15056 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jan 18, 2011
1 parent b6a878e commit 97149ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/wfs/qgswfsprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,14 @@ void QgsWFSProvider::select( QgsAttributeList fetchAttributes,
if ( rect.isEmpty() )
{
mSpatialFilter = mExtent;
mSelectedFeatures = mFeatures.keys();
}
else
{
mSpatialFilter = rect;
mSelectedFeatures = mSpatialIndex->intersects( mSpatialFilter );
}

mSelectedFeatures = mSpatialIndex->intersects( mSpatialFilter );
mFeatureIterator = mSelectedFeatures.begin();
}

Expand Down

0 comments on commit 97149ed

Please sign in to comment.