Skip to content
Permalink
Browse files
fix #2631
git-svn-id: http://svn.osgeo.org/qgis/trunk@13265 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 6, 2010
1 parent d975c89 commit 85276bfd34428e605a868455e6e07c8e517c0b9e
Showing with 24 additions and 0 deletions.
  1. +24 −0 src/app/qgisapp.cpp
@@ -5707,9 +5707,33 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )
mActionRemoveLayer->setEnabled( false );
mActionLayerProperties->setEnabled( false );
mActionAddToOverview->setEnabled( false );

mActionCapturePoint->setEnabled( false );
mActionCaptureLine->setEnabled( false );
mActionCapturePolygon->setEnabled( false );
mActionMoveFeature->setEnabled( false );
mActionNodeTool->setEnabled( false );
mActionDeleteSelected->setEnabled( false );
mActionCutFeatures->setEnabled( false );
mActionCopyFeatures->setEnabled( false );
mActionPasteFeatures->setEnabled( false );

mActionUndo->setEnabled( false );
mActionRedo->setEnabled( false );
mActionSimplifyFeature->setEnabled( false );
mActionAddRing->setEnabled( false );
mActionAddIsland->setEnabled( false );
mActionDeleteRing->setEnabled( false );
mActionDeletePart->setEnabled( false );
mActionReshapeFeatures->setEnabled( false );
mActionSplitFeatures->setEnabled( false );
mActionMergeFeatures->setEnabled( false );
mActionRotatePointSymbols->setEnabled( false );

mActionCapturePoint->setVisible( false );
mActionCaptureLine->setVisible( false );
mActionCapturePolygon->setVisible( false );

return;
}

0 comments on commit 85276bf

Please sign in to comment.