Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
a small fix to enable the copy feature action for vector layers
git-svn-id: http://svn.osgeo.org/qgis/trunk@5491 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 26, 2006
1 parent 487f737 commit e88ae0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsvectorlayer.cpp
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit e88ae0a

Please sign in to comment.