Skip to content
Permalink
Browse files
fix edit actions remaining active when switching to a raster layer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13410 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty committed Apr 30, 2010
1 parent 2b8252b commit a1a129b
Showing 1 changed file with 4 additions and 0 deletions.
@@ -5891,6 +5891,10 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )
mActionPasteFeatures->setEnabled( false );
mActionRotatePointSymbols->setEnabled( false );
mActionDeletePart->setEnabled( false );
mActionDeleteRing->setEnabled( false );
mActionSimplifyFeature->setEnabled( false );
mActionReshapeFeatures->setEnabled( false );
mActionSplitFeatures->setEnabled( false );

//NOTE: This check does not really add any protection, as it is called on load not on layer select/activate
//If you load a layer with a provider and idenitfy ability then load another without, the tool would be disabled for both

0 comments on commit a1a129b

Please sign in to comment.