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: Julien Cabieces <julien.cabieces@oslandia.com>
  • Loading branch information
2 people authored and github-actions[bot] committed Nov 18, 2022
1 parent a18d1f1 commit 4a7df60
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/core/vector/qgsvectorlayer.cpp
Expand Up @@ -3447,14 +3447,7 @@ bool QgsVectorLayer::deleteFeatures( const QgsFeatureIds &fids, QgsVectorLayer::
}
else
{
if ( mEditBuffer )
{
res = mEditBuffer->deleteFeatures( fids );
}
else
{
res = false;
}
res = mEditBuffer && mEditBuffer->deleteFeatures( fids );
}

if ( res )
Expand Down

0 comments on commit 4a7df60

Please sign in to comment.