Skip to content
Permalink
Browse files
wfs: catch end of selected features (fixes #8979)
  • Loading branch information
jef-n committed Feb 10, 2014
1 parent e6fe97f commit 8d7e61abd2cc0c1e41eeb4b68fe96dc148997d13
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/providers/wfs/qgswfsfeatureiterator.cpp
@@ -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;

0 comments on commit 8d7e61a

Please sign in to comment.