Opened 13 years ago

Closed 13 years ago

#3339 closed enhancement (fixed)

Enhancement: "add layer" button for composer legend

Reported by: Alister Owned by: NathanW
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Printing Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

For composer legend items, it would be good if there was an "add layer" button on the "Item" tab under "Legend items".

This would allow the user to choose from a list of all the layers that aren't currently in the legend, to add back a layer that had been removed from the legend. (To add a layer currently you need to click the "All" button, which loses any other customisations, e.g. layer reordering and renaming)

Attachments (1)

3339.patch (17.6 KB ) - added by NathanW 13 years ago.
Patch to allow adding of layers to legend, ability to turn off auto update and adds icons to some of the legend buttons.

Download all attachments as: .zip

Change History (6)

comment:1 by Alister, 13 years ago

This enhancement would minimise the need for r9038, and if it was implemented then I think reverting r9038 should be considered (or maybe there could be an option to control the automatic adding - perhaps a composer item option?). I can't speak for others, but I normally lock the layers in my composer maps, so it is annoying that a new layer added to the project is automatically added into existing composer legends :)

comment:2 by NathanW, 13 years ago

Owner: changed from nobody to NathanW
Status: newassigned

I'm was working on adding this when you posted this ticket. Patch to come soon.

by NathanW, 13 years ago

Attachment: 3339.patch added

Patch to allow adding of layers to legend, ability to turn off auto update and adds icons to some of the legend buttons.

comment:3 by Alister, 13 years ago

Great! Thanks

comment:4 by timlinux, 13 years ago

Nathan's patch has been applied in r14951. Many thanks!

Regards

Tim

comment:5 by NathanW, 13 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.