Skip to content

Commit b5d3a15

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsvectorlayer.cpp

+1-1
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)