Skip to content

Commit dc3c17e

Browse files

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsvectorlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ void QgsVectorLayer::updateExtents()
10871087
if ( !mDataProvider )
10881088
QgsLogger::warning( " QgsVectorLayer::updateExtents() invoked with null mDataProvider" );
10891089

1090-
if ( mDeletedFeatureIds.isEmpty() )
1090+
if ( mDeletedFeatureIds.isEmpty() && mChangedGeometries.isEmpty() )
10911091
{
10921092
// get the extent of the layer from the provider
10931093
// but only when there are some features already

0 commit comments

Comments
 (0)
Please sign in to comment.