Skip to content

Commit

Permalink
Update src/core/vector/qgsvectorlayer.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
elpaso and nyalldawson committed Sep 20, 2021
1 parent c79c79a commit ae5a855
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/core/vector/qgsvectorlayer.cpp
Expand Up @@ -3821,10 +3821,7 @@ void QgsVectorLayer::endEditCommand()
{
if ( selectedFeatureCount() > 0 )
{
for ( const auto deletedFid : std::as_const( mDeletedFids ) )
{
mSelectedFeatureIds.remove( deletedFid );
}
mSelectedFeatureIds.subtract( mDeletedFids );
}
emit featuresDeleted( mDeletedFids );
mDeletedFids.clear();
Expand Down

0 comments on commit ae5a855

Please sign in to comment.