Bug report #7177

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

Added by Olivier Dalang over 11 years ago. Updated over 10 years ago.

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


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 over 10 years ago

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


#1 Updated by Olivier Dalang over 10 years ago

  • % Done changed from 0 to 100

#2 Updated by Olivier Dalang over 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF