Feature request #12969

Autohide empty groups and sub-groups in "Filtered" Map Composer's legend

Added by Alexandre Neto almost 9 years ago. Updated almost 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:21047

Description

While using "Filter legend by map content", at the print composer, it would be nice to also hide the resulting empty groups and sub-groups.

In the current implementation, if layers are organized in groups or even if layers symbols are grouped (using rule-base symbols), you will have to manually remove or hide all the empty group and sub-group (layers) names.


Related issues

Related to QGIS Application - Bug report #13575: "Add a Legend" adds ALL the layers in the project instead... Closed 2015-10-12

Associated revisions

Revision c7834751
Added by Marco Hugentobler almost 8 years ago

Legend: leave away empty groups (fix #12969)

Revision 269db146
Added by Marco Hugentobler over 7 years ago

Legend: leave away empty groups (fix #12969)

(cherry-picked from c78347)

History

#1 Updated by Marco Hugentobler almost 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF