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