Class: QgsVectorLayerUndoCommandAddAttribute¶
- class qgis.core.QgsVectorLayerUndoCommandAddAttribute¶
Bases:
QgsVectorLayerUndoCommand
Undo command for adding a new attribute to a vector layer.
QgsVectorLayerUndoCommandAddAttribute(buffer:
QgsVectorLayerEditBuffer
, field:QgsField
) Constructor for QgsVectorLayerUndoCommandAddAttribute- Parameters:
- redo(self)¶
- undo(self)¶