mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -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();
|
newLayer->startEditing();
|
||||||
QgsFeature f;
|
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;
|
QgsFeatureRequest req;
|
||||||
|
|
||||||
if ( onlySelected )
|
if ( onlySelected )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user