Class: QgsVectorLayerUndoCommandRenameAttribute¶
- class qgis.core.QgsVectorLayerUndoCommandRenameAttribute¶
Bases:
QgsVectorLayerUndoCommand
Undo command for renaming an existing attribute of a vector layer.
QgsVectorLayerUndoCommandRenameAttribute(buffer:
QgsVectorLayerEditBuffer
, fieldIndex: int, newName: str) Constructor for QgsVectorLayerUndoCommandRenameAttribute- Parameters:
- redo(self)¶
- undo(self)¶