Skip to content
Permalink
Browse files
Backport, allow vertex moves on single points
git-svn-id: http://svn.osgeo.org/qgis/branches/Version-1_0@10532 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Apr 11, 2009
1 parent 2ddd176 commit 715887a54106c9359374b98f2b5b735650d2f193
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/app/qgisapp.cpp
@@ -5029,11 +5029,7 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )
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;
}

0 comments on commit 715887a

Please sign in to comment.