Skip to content

Commit a1a129b

Browse files
author
borysiasty
committedApr 30, 2010
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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5891,6 +5891,10 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )
58915891
mActionPasteFeatures->setEnabled( false );
58925892
mActionRotatePointSymbols->setEnabled( false );
58935893
mActionDeletePart->setEnabled( false );
5894+
mActionDeleteRing->setEnabled( false );
5895+
mActionSimplifyFeature->setEnabled( false );
5896+
mActionReshapeFeatures->setEnabled( false );
5897+
mActionSplitFeatures->setEnabled( false );
58945898

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

0 commit comments

Comments
 (0)
Please sign in to comment.