Skip to content
Permalink
Browse files
fix QgsVectorLayer::updateExtents()
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 034852c4236cc0c7e191bbe9c26c48e310fe1751
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayer.cpp
@@ -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

0 comments on commit 034852c

Please sign in to comment.