Skip to content

Commit

Permalink
wfs: catch end of selected features (fixes #8979)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 10, 2014
1 parent e6fe97f commit 8d7e61a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/providers/wfs/qgswfsfeatureiterator.cpp
Expand Up @@ -72,6 +72,9 @@ bool QgsWFSFeatureIterator::fetchFeature( QgsFeature& f )

for ( ;; )
{
if( mFeatureIterator == mSelectedFeatures.constEnd() )
return false;

QMap<QgsFeatureId, QgsFeature* >::iterator it = mProvider->mFeatures.find( *mFeatureIterator );
if ( it == mProvider->mFeatures.end() )
return false;
Expand Down

0 comments on commit 8d7e61a

Please sign in to comment.