mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[fix #11872] do not call activateLayerRelatedAction after selection change if layer is not current layer
This commit is contained in:
parent
64a6cf631e
commit
d288a53c0d
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user