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 64a6cf6 commit d288a53c0de20191f25656e860c8cfbb5174d194
Showing 1 changed file with 4 additions and 1 deletion.
@@ -8972,7 +8972,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 )

1 comment on commit d288a53

@3nids
Copy link
Member Author

@3nids 3nids commented on d288a53 Dec 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

backported to 2.6 ddb37e2

Please sign in to comment.