Skip to content
Permalink
Browse files
fix QgsVectorLayer::updateExtents()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9761 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 9, 2008
1 parent 27f8d32 commit dc3c17e3f53ae23dda88d346e79518d3cbfa332c
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 dc3c17e

Please sign in to comment.