Skip to content

Commit 10b05ab

Browse files
author
timlinux
committed
Fix for ticket #1527
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10115 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 302bb42 commit 10b05ab

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
@@ -2214,7 +2214,7 @@ bool QgsVectorLayer::writeXml( QDomNode & layer_node,
22142214
mapLayerNode.setAttribute( "type", "vector" );
22152215

22162216
// set the geometry type
2217-
mapLayerNode.setAttribute( "geometry", QGis::qgisVectorGeometryType[type()] );
2217+
mapLayerNode.setAttribute( "geometry", QGis::qgisVectorGeometryType[geometryType()] );
22182218

22192219
// add provider node
22202220
QDomElement provider = document.createElement( "provider" );

0 commit comments

Comments
 (0)