Feature request #3157
Load an editable layer as a readonly one
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | nobody - | ||
Category: | Map Legend | ||
Pull Request or Patch supplied: | Resolution: | fixed | |
Easy fix?: | No | Copied to github as #: | 13217 |
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.
Associated revisions
applied patch to make a vector layer read-only, to fix #3157
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14451 c8812cc2-4d05-0410-92ff-de0c093fc19c
applied patch to make a vector layer read-only, to fix #3157
git-svn-id: http://svn.osgeo.org/qgis/trunk@14451 c8812cc2-4d05-0410-92ff-de0c093fc19c
History
#1 Updated by Giuseppe Sucameli about 14 years ago
- Resolution set to fixed
- Status changed from Open to Closed
applied from 519f1206 (SVN r14452)