[QGIS Commit] r10115 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Feb 6 00:05:29 EST 2009


Author: timlinux
Date: 2009-02-06 00:05:29 -0500 (Fri, 06 Feb 2009)
New Revision: 10115

Modified:
   trunk/qgis/src/core/qgsvectorlayer.cpp
Log:
Fix for ticket #1527

Modified: trunk/qgis/src/core/qgsvectorlayer.cpp
===================================================================
--- trunk/qgis/src/core/qgsvectorlayer.cpp	2009-02-06 05:02:01 UTC (rev 10114)
+++ trunk/qgis/src/core/qgsvectorlayer.cpp	2009-02-06 05:05:29 UTC (rev 10115)
@@ -2214,7 +2214,7 @@
   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" );



More information about the QGIS-commit mailing list