Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[offlineediting] Fix only synchronize selected features option
Fix #15830
  • Loading branch information
m-kuhn committed Dec 7, 2016
1 parent 897d27f commit ed5a2bc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/qgsofflineediting.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit ed5a2bc

Please sign in to comment.