Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Implement rewind() in wfs iterator
  • Loading branch information
mhugent committed Jan 21, 2013
1 parent 8e2262b commit bde20b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/providers/wfs/qgswfsfeatureiterator.cpp
Expand Up @@ -68,7 +68,12 @@ bool QgsWFSFeatureIterator::nextFeature( QgsFeature& f )

bool QgsWFSFeatureIterator::rewind()
{
return false;
if ( !mProvider )
{
return false;
}

mFeatureIterator = mSelectedFeatures.constBegin();
}

bool QgsWFSFeatureIterator::close()
Expand Down

0 comments on commit bde20b4

Please sign in to comment.