Skip to content
Permalink
Browse files

Partially revert ab3adc6

The deselect action applies to ALL map layers, so it should always
be enabled, even when a vector layer isn't the current selection
  • Loading branch information
nyalldawson committed Jan 28, 2019
1 parent 3d0cf5c commit d61f41046444c89bf40812027736eb93fbb7da3e
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/app/qgisapp.cpp
@@ -12520,7 +12520,6 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer *layer )
mActionLabeling->setEnabled( false );
mActionOpenTable->setEnabled( false );
mActionSelectAll->setEnabled( false );
mActionDeselectAll->setEnabled( false );
mActionInvertSelection->setEnabled( false );
mActionOpenFieldCalc->setEnabled( false );
mActionToggleEditing->setEnabled( false );
@@ -12653,7 +12652,6 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer *layer )
mActionSelectByForm->setEnabled( true );
mActionOpenTable->setEnabled( true );
mActionSelectAll->setEnabled( true );
mActionDeselectAll->setEnabled( true );
mActionInvertSelection->setEnabled( true );
mActionSaveLayerDefinition->setEnabled( true );
mActionLayerSaveAs->setEnabled( true );
@@ -12882,7 +12880,6 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer *layer )
mActionZoomToSelected->setEnabled( false );
mActionOpenTable->setEnabled( false );
mActionSelectAll->setEnabled( false );
mActionDeselectAll->setEnabled( false );
mActionInvertSelection->setEnabled( false );
mActionSelectByExpression->setEnabled( false );
mActionSelectByForm->setEnabled( false );

0 comments on commit d61f410

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