Fix for ticket #1527

git-svn-id: http://svn.osgeo.org/qgis/trunk@10115 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2009-02-06 05:05:29 +00:00
parent b79b31077a
commit b5d3a15668

View File

@ -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" );