Skip to content

Commit 034852c

Browse files
author
jef
committed
fix QgsVectorLayer::updateExtents()
git-svn-id: http://svn.osgeo.org/qgis/trunk@9761 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent f5e8c92 commit 034852c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsvectorlayer.cpp

+1-1
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)