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)
Change History (3)
by , 14 years ago
Attachment: | patch_for_ticket_3157.diff added |
---|
comment:1 by , 14 years ago
Type: | enhancement → patch |
---|
Note:
See TracTickets
for help on using tickets.
patch to make a layer readonly