Skip to content
Permalink
Browse files

Disable line simplify tool when 'change geometry' capability missing

  • Loading branch information
Sandro Santilli
Sandro Santilli committed Feb 17, 2016
1 parent cbc830b commit b37732cc3e120d5f4a38b040be1b75081b519801
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -10054,7 +10054,7 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )
mActionReshapeFeatures->setEnabled( isEditable && canAddFeatures );
mActionSplitFeatures->setEnabled( isEditable && canAddFeatures );
mActionSplitParts->setEnabled( isEditable && canChangeGeometry && isMultiPart );
mActionSimplifyFeature->setEnabled( isEditable && canAddFeatures );
mActionSimplifyFeature->setEnabled( isEditable && canChangeGeometry );
mActionOffsetCurve->setEnabled( isEditable && canAddFeatures && canChangeAttributes );

mActionAddRing->setEnabled( false );

0 comments on commit b37732c

Please sign in to comment.
You can’t perform that action at this time.