Hi,
I need to avoid features deletion in some layers both from button and from 
keyboard. 

How can I perform this in pyqgis?

I have disabled the button with these comand:
    iface.actionDeleteSelected().setDisabled(True)

but the features can be deleted with the backspace or Del.

Enrico




_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to