Skip to content
Permalink
Browse files

[offlineediting] Fix only synchronize selected features option

Fix #15830
  • Loading branch information
m-kuhn committed Dec 7, 2016
1 parent 897d27f commit ed5a2bca7e908fad45f8c71ebf6519240832e4de
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/core/qgsofflineediting.cpp
@@ -620,9 +620,6 @@ QgsVectorLayer* QgsOfflineEditing::copyVectorLayer( QgsVectorLayer* layer, sqlit
newLayer->startEditing();
QgsFeature f;

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

QgsFeatureRequest req;

if ( onlySelected )

0 comments on commit ed5a2bc

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