mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-02 00:02:12 -05:00
[offlineediting] Fix only synchronize selected features option
Fix #15830
This commit is contained in:
parent
897d27fa5c
commit
ed5a2bca7e
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user