mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Update src/core/layout/qgslayoutitemlegend.cpp
Co-authored-by: Andrea Giudiceandrea <andreaerdna@libero.it>
This commit is contained in:
parent
06326ff03b
commit
dba8213d21
@ -72,7 +72,7 @@ bool QgsLegendFilterProxyModel::layerShown( QgsMapLayer *layer ) const
|
||||
if ( !layer )
|
||||
return true;
|
||||
|
||||
if ( QgsMapLayerLegend *layerLegend = layer->legend(); mIsDefaultLegend && layerLegend && layerLegend->flags().testFlag( Qgis::MapLayerLegendFlag::ExcludeByDefault ) )
|
||||
if ( QgsMapLayerLegend *layerLegend = layer->legend(); mIsDefaultLegend && layerLegend && layerLegend->flags().testFlag( Qgis::MapLayerLegendFlag::ExcludeByDefault ) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user