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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Apr 11 14:55:36 EDT 2009


Author: mhugent
Date: 2009-04-11 14:55:36 -0400 (Sat, 11 Apr 2009)
New Revision: 10530

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
Allow moving of single points to use snapping (part of fix for #1550)

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2009-04-11 17:27:13 UTC (rev 10529)
+++ trunk/qgis/src/app/qgisapp.cpp	2009-04-11 18:55:36 UTC (rev 10530)
@@ -5190,11 +5190,7 @@
         mActionSplitFeatures->setEnabled( false );
         if ( vlayer->isEditable() && dprovider->capabilities() & QgsVectorDataProvider::ChangeGeometries )
         {
-          //don't enable vertex move for single point
-          if ( vlayer->wkbType() != QGis::WKBPoint && vlayer->wkbType() != QGis::WKBPoint25D )
-          {
             mActionMoveVertex->setEnabled( true );
-          }
         }
         return;
       }



More information about the QGIS-commit mailing list