Skip to content

Commit d059cc6

Browse files
author
timlinux
committedFeb 6, 2009
Fix for ticket #1527
git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@10114 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 49f199f commit d059cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsvectorlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2206,7 +2206,7 @@ bool QgsVectorLayer::writeXml( QDomNode & layer_node,
22062206
mapLayerNode.setAttribute( "type", "vector" );
22072207

22082208
// set the geometry type
2209-
mapLayerNode.setAttribute( "geometry", QGis::qgisVectorGeometryType[type()] );
2209+
mapLayerNode.setAttribute( "geometry", QGis::qgisVectorGeometryType[geometryType()] );
22102210

22112211
// add provider node
22122212
QDomElement provider = document.createElement( "provider" );

0 commit comments

Comments
 (0)
Please sign in to comment.