[QGIS Commit] r10071 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Jan 31 13:54:35 EST 2009


Author: jef
Date: 2009-01-31 13:54:34 -0500 (Sat, 31 Jan 2009)
New Revision: 10071

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
fix r10069

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2009-01-31 17:52:11 UTC (rev 10070)
+++ trunk/qgis/src/app/qgisapp.cpp	2009-01-31 18:54:34 UTC (rev 10071)
@@ -5017,7 +5017,7 @@
         if ( vlayer->isEditable() && dprovider->capabilities() & QgsVectorDataProvider::ChangeGeometries )
         {
           //don't enable vertex move for single point
-          if ( QGis::wkbType2d( vlayer->wkbType() ) != QGis::WKBPoint )
+          if ( vlayer->wkbType() != QGis::WKBPoint && vlayer->wkbType() != QGis::WKBPoint25D )
           {
             mActionMoveVertex->setEnabled( true );
           }



More information about the QGIS-commit mailing list