Skip to content

Commit 37ed839

Browse files
committed
postgres provider: fix feature count on delete (fixes #12957)
1 parent cc05516 commit 37ed839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/postgres/qgspostgresprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1900,7 +1900,7 @@ bool QgsPostgresProvider::deleteFeatures( const QgsFeatureIds & id )
19001900
dropOrphanedTopoGeoms();
19011901
}
19021902

1903-
mShared->addFeaturesCounted( id.size() );
1903+
mShared->addFeaturesCounted( -id.size() );
19041904
}
19051905
catch ( PGException &e )
19061906
{

0 commit comments

Comments
 (0)