Skip to content
Permalink
Browse files

Disable reshape line tool when 'change geometry' capability missing

Matches behavior of reshape polygon tool
  • Loading branch information
Sandro Santilli
Sandro Santilli committed Feb 17, 2016
1 parent b37732c commit b4b382b93df351ac98a5a33f0a7ca08a98a1c9b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -10051,7 +10051,7 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )
{
mActionAddFeature->setIcon( QgsApplication::getThemeIcon( "/mActionCaptureLine.svg" ) );

mActionReshapeFeatures->setEnabled( isEditable && canAddFeatures );
mActionReshapeFeatures->setEnabled( isEditable && canChangeGeometry );
mActionSplitFeatures->setEnabled( isEditable && canAddFeatures );
mActionSplitParts->setEnabled( isEditable && canChangeGeometry && isMultiPart );
mActionSimplifyFeature->setEnabled( isEditable && canChangeGeometry );

0 comments on commit b4b382b

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