Skip to content

Commit

Permalink
fix QgsVectorLayer::updateExtents()
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@9761 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 9, 2008
1 parent f5e8c92 commit 034852c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayer.cpp
Expand Up @@ -1087,7 +1087,7 @@ void QgsVectorLayer::updateExtents()
if ( !mDataProvider )
QgsLogger::warning( " QgsVectorLayer::updateExtents() invoked with null mDataProvider" );

if ( mDeletedFeatureIds.isEmpty() )
if ( mDeletedFeatureIds.isEmpty() && mChangedGeometries.isEmpty() )
{
// get the extent of the layer from the provider
// but only when there are some features already
Expand Down

0 comments on commit 034852c

Please sign in to comment.