[QGIS Commit] r10532 - branches/Version-1_0/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Apr 11 15:37:14 EDT 2009


Author: mhugent
Date: 2009-04-11 15:37:14 -0400 (Sat, 11 Apr 2009)
New Revision: 10532

Modified:
   branches/Version-1_0/src/app/qgisapp.cpp
Log:
Backport, allow vertex moves on single points

Modified: branches/Version-1_0/src/app/qgisapp.cpp
===================================================================
--- branches/Version-1_0/src/app/qgisapp.cpp	2009-04-11 19:14:24 UTC (rev 10531)
+++ branches/Version-1_0/src/app/qgisapp.cpp	2009-04-11 19:37:14 UTC (rev 10532)
@@ -5029,11 +5029,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