Hi Jules, is there a reason why there is no simple addUndoableAction in UndoManager (which does not call perform) ? Me thinks this way, see:
- Perform some action(s)
- Create UndoableAction(s) in the process
- When done, give the UndoableAction(s) to the UndoManager to handle (but not call perform)
- When undoing/redoing, call UndoManager::undo()/redo()
:?: