Class: QgsVectorLayerUndoCommandChangeAttribute¶
- class qgis.core.QgsVectorLayerUndoCommandChangeAttribute¶
Bases:
QgsVectorLayerUndoCommand
Undo command for modifying an attribute of a feature from a vector layer.
QgsVectorLayerUndoCommandChangeAttribute(buffer: Optional[QgsVectorLayerEditBuffer], fid: int, fieldIndex: int, newValue: Any, oldValue: Any) Constructor for QgsVectorLayerUndoCommandChangeAttribute
- Parameters:
- redo(self)¶
- undo(self)¶