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@10115 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 6, 2009
1 parent b79b310 commit b5d3a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayer.cpp
Original file line number Diff line number Diff line change
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 b5d3a15

Please sign in to comment.