Skip to content

Commit

Permalink
Fix for ticket #1527
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10115 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 6, 2009
1 parent 302bb42 commit 10b05ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayer.cpp
Expand Up @@ -2214,7 +2214,7 @@ bool QgsVectorLayer::writeXml( QDomNode & layer_node,
mapLayerNode.setAttribute( "type", "vector" );

// set the geometry type
mapLayerNode.setAttribute( "geometry", QGis::qgisVectorGeometryType[type()] );
mapLayerNode.setAttribute( "geometry", QGis::qgisVectorGeometryType[geometryType()] );

// add provider node
QDomElement provider = document.createElement( "provider" );
Expand Down

0 comments on commit 10b05ab

Please sign in to comment.