[QGIS Commit] r10114 - branches/Version-1_0/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Feb 6 00:02:01 EST 2009


Author: timlinux
Date: 2009-02-06 00:02:01 -0500 (Fri, 06 Feb 2009)
New Revision: 10114

Modified:
   branches/Version-1_0/src/core/qgsvectorlayer.cpp
Log:
Fix for ticket #1527

Modified: branches/Version-1_0/src/core/qgsvectorlayer.cpp
===================================================================
--- branches/Version-1_0/src/core/qgsvectorlayer.cpp	2009-02-05 20:15:04 UTC (rev 10113)
+++ branches/Version-1_0/src/core/qgsvectorlayer.cpp	2009-02-06 05:02:01 UTC (rev 10114)
@@ -2206,7 +2206,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