Skip to content

Commit

Permalink
postgres provider: fix feature count on delete (fixes #12957)
Browse files Browse the repository at this point in the history
(cherry picked from commit 37ed839)
  • Loading branch information
jef-n committed Jun 29, 2015
1 parent d9a2b35 commit 361857b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1890,7 +1890,7 @@ bool QgsPostgresProvider::deleteFeatures( const QgsFeatureIds & id )
dropOrphanedTopoGeoms();
}

mShared->addFeaturesCounted( id.size() );
mShared->addFeaturesCounted( -id.size() );
}
catch ( PGException &e )
{
Expand Down

0 comments on commit 361857b

Please sign in to comment.