Skip to content
Permalink
Browse files
fix #9430 followup 7a9e682
  • Loading branch information
3nids committed Feb 2, 2014
1 parent f80ea49 commit 983b1c95fd91645bb3e766d44703f9d6b28d9407
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/app/qgisapp.cpp
@@ -8593,10 +8593,9 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )
updateUndoActions();
}

bool canPasteFeatures = isEditable && canAddFeatures && !clipboard()->empty();
mActionPasteFeatures->setEnabled( canPasteFeatures );
mActionPasteAsNewVector->setEnabled( canPasteFeatures );
mActionPasteAsNewMemoryVector->setEnabled( canPasteFeatures );
mActionPasteFeatures->setEnabled( isEditable && canAddFeatures && !clipboard()->empty() );
mActionPasteAsNewVector->setEnabled( !clipboard()->empty() );
mActionPasteAsNewMemoryVector->setEnabled( !clipboard()->empty() );

mActionAddFeature->setEnabled( isEditable && canAddFeatures );

0 comments on commit 983b1c9

Please sign in to comment.