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 with 4 additions and 1 deletion.
  1. +4 −1 src/app/qgisapp.cpp
@@ -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

This comment has been minimized.

Copy link
Member Author

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

backported to 2.6 ddb37e2

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