Feature request #3157

Load an editable layer as a readonly one

Added by Giuseppe Sucameli almost 10 years ago. Updated almost 10 years ago.

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.

patch_for_ticket_3157.diff Magnifier - patch to make a layer readonly (3.96 KB) Giuseppe Sucameli, 2010-10-28 10:06 AM

Associated revisions

Revision 6b14503b
Added by Giuseppe Sucameli almost 10 years ago

applied patch to make a vector layer read-only, to fix #3157

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision 519f1206
Added by Giuseppe Sucameli almost 10 years ago

applied patch to make a vector layer read-only, to fix #3157

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Giuseppe Sucameli almost 10 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

applied from 519f1206 (SVN r14452)

Also available in: Atom PDF