Opened 14 years ago

Closed 14 years ago

#3157 closed patch (fixed)

Load an editable layer as a readonly one

Reported by: brushtyler Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.6.0
Component: Map Legend Version:
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description

Would be very useful for plugins developer the possibility to add a layer in canvas disabling its editing capabilities.

A solution could be adding a pair of methods setReadOnly(bool) and isReadOnly() for the layers. If set as read only, editing would be disabled.

Attachments (1)

patch_for_ticket_3157.diff (4.0 KB ) - added by brushtyler 14 years ago.
patch to make a layer readonly

Download all attachments as: .zip

Change History (3)

by brushtyler, 14 years ago

Attachment: patch_for_ticket_3157.diff added

patch to make a layer readonly

comment:1 by brushtyler, 14 years ago

Type: enhancementpatch

comment:2 by brushtyler, 14 years ago

Resolution: fixed
Status: newclosed

applied from r14451

Note: See TracTickets for help on using tickets.