Skip to content

Commit b4b382b

Browse files
author
Sandro Santilli
committedFeb 17, 2016
Disable reshape line tool when 'change geometry' capability missing
Matches behavior of reshape polygon tool
1 parent b37732c commit b4b382b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10051,7 +10051,7 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )
1005110051
{
1005210052
mActionAddFeature->setIcon( QgsApplication::getThemeIcon( "/mActionCaptureLine.svg" ) );
1005310053

10054-
mActionReshapeFeatures->setEnabled( isEditable && canAddFeatures );
10054+
mActionReshapeFeatures->setEnabled( isEditable && canChangeGeometry );
1005510055
mActionSplitFeatures->setEnabled( isEditable && canAddFeatures );
1005610056
mActionSplitParts->setEnabled( isEditable && canChangeGeometry && isMultiPart );
1005710057
mActionSimplifyFeature->setEnabled( isEditable && canChangeGeometry );

0 commit comments

Comments
 (0)
Please sign in to comment.