Skip to content
Permalink
Browse files
Fix activation of paste action after cut/copy
  • Loading branch information
mhugent committed Mar 20, 2013
1 parent fef8032 commit e2c80d352ff691098250d08dc9b6960dd617da36
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgisapp.cpp
@@ -5257,6 +5257,7 @@ void QgisApp::editCut( QgsMapLayer * layerContainingSelection )
selectionVectorLayer->beginEditCommand( tr( "Features cut" ) );
selectionVectorLayer->deleteSelectedFeatures();
selectionVectorLayer->endEditCommand();
activateDeactivateLayerRelatedActions( activeLayer() );
}

void QgisApp::editCopy( QgsMapLayer * layerContainingSelection )
@@ -5272,6 +5273,7 @@ void QgisApp::editCopy( QgsMapLayer * layerContainingSelection )

// Test for feature support in this layer
clipboard()->replaceWithCopyOf( selectionVectorLayer );
activateDeactivateLayerRelatedActions( activeLayer() );
}


0 comments on commit e2c80d3

Please sign in to comment.