Skip to content

Commit

Permalink
offline editing: keep subset filter (hello from FOSSGIS)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Mar 11, 2015
1 parent 95ebf45 commit 7c6358a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsofflineediting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ QgsVectorLayer* QgsOfflineEditing::copyVectorLayer( QgsVectorLayer* layer, sqlit
QgsFeature f;

// NOTE: force feature recount for PostGIS layer, else only visible features are counted, before iterating over all features (WORKAROUND)
layer->setSubsetString( "" );
layer->setSubsetString( layer->subsetString() );

QgsFeatureIterator fit = layer->dataProvider()->getFeatures();

Expand Down

0 comments on commit 7c6358a

Please sign in to comment.