I want to disable editing some (but not all) layers in one QGIS project, while still having them editable in a different project.
Is it possible to disable editing certain layers within a QGIS project without making the actual data read-only?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
You can also use one line python script. Select a layer and run the script:
According to the documentation, if the layer is in editing, it returns