Skip to content
Permalink
Browse files

[fix #11872] do not call activateLayerRelatedAction after selection c…

…hange if layer is not current layer
  • Loading branch information
3nids committed Dec 18, 2014
1 parent c5d6f95 commit ddb37e227c3a5336078647537b27c596e5f4d207
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/app/qgisapp.cpp
@@ -8914,7 +8914,10 @@ void QgisApp::selectionChanged( QgsMapLayer *layer )
{
showStatusMessage( tr( "%n feature(s) selected on layer %1.", "number of selected features", vlayer->selectedFeatureCount() ).arg( vlayer->name() ) );
}
activateDeactivateLayerRelatedActions( layer );
if ( layer == activeLayer() )
{
activateDeactivateLayerRelatedActions( layer );
}
}

void QgisApp::legendLayerSelectionChanged( void )

0 comments on commit ddb37e2

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