I want to ask for a feature request for the UndoManager class:
It should be possibel to delete the current action.
At the moment, it is only possible to delete the current transaction, by using “UndoManager::undoCurrentTransactionOnly”. But a transaction can have several actions inside it. So deleting the current transaction would be too much. I only want to delete the latest action.
My use case: I perform an action, check if anything has changed, and if no changes are made, I want to discard that action.