Skip to content
Permalink
Browse files
a small fix to enable the copy feature action for vector layers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5491 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 26, 2006
1 parent 75b0dcc commit 1445f365dc52b858e2fe47fd3dbf78c2b03970b2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsvectorlayer.cpp
@@ -925,7 +925,7 @@ void QgsVectorLayer::cacheGeometries()
QgsFeature* f = 0;
while(f = dataProvider->getNextFeature(false))
{
//mCachedGeometries.insert(std::make_pair(f->featureId(), f->geometryAndOwnership()));
mCachedGeometries.insert(std::make_pair(f->featureId(), f->geometryAndOwnership()));
delete f;
}
}

0 comments on commit 1445f36

Please sign in to comment.