Class: QgsVectorLayerUndoCommandDeleteAttribute¶
- class qgis.core.QgsVectorLayerUndoCommandDeleteAttribute¶
Bases:
QgsVectorLayerUndoCommand
Undo command for removing an existing attribute from a vector layer.
QgsVectorLayerUndoCommandDeleteAttribute(buffer: Optional[QgsVectorLayerEditBuffer], fieldIndex: int) Constructor for QgsVectorLayerUndoCommandDeleteAttribute
- redo(self)¶
- undo(self)¶