-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.9, 6.8.4, 6.9.1, 6.10.0 Beta2
When the current command in a QUndoStack becomes obsolete during redo(), the command is removed from the stack as expected but the stack does not emit its changed signals and thus its listeners are not notified of the change in the stack state. For example, since QUndoStack::redo() does not emit the QUndoStack::canRedoChanged() and QUndoStack::redoTextChanged() signals when the current command becomes obsolete during its redo, the associated redo QAction is neither disabled nor its text updated.
Attached example reproduces the issue.