Skip to content

Commit 3a1746c

Browse files
author
borysiasty
committed
fix edit actions remaining active when switching to a raster layer
git-svn-id: http://svn.osgeo.org/qgis/trunk@13410 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 31f4b74 commit 3a1746c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/qgisapp.cpp

+4
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)