Skip to content
Browse files

offline editing: keep subset filter (hello from FOSSGIS)

  • Loading branch information
jef-n committed Mar 11, 2015
1 parent 95ebf45 commit 7c6358a411db9aff13bf42ff0778f2ab18c5a9bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsofflineediting.cpp
@@ -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();

0 comments on commit 7c6358a

Please sign in to comment.
You can’t perform that action at this time.