Bug report #7177

Composer's legend "all" button does not take "lock layers" into account

Added by Olivier Dalang over 6 years ago. Updated almost 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:-
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16228

Description

Hi !

When you hit the "all" button in a ComposerLegend's widget, the legend displays all visible layers from the main QGis' canvas.

This is right when the legend is linked to a ComposerMap without locked layers (or when the legend is not linked to a ComposerMap at all).

But when the ComposerMap has locked layers, one would expect the "all" button to add all legend items of the layers visible in the ComposerMap.

Thanks !

Associated revisions

Revision 177e5a19
Added by Olivier Dalang almost 6 years ago

[composer] ComposerLegend update all now only applies to referenced map's layers (in case they are locked) (fix #7177)

History

#1 Updated by Olivier Dalang almost 6 years ago

  • % Done changed from 0 to 100

#2 Updated by Olivier Dalang almost 6 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF