A test for KisDoc2::undoIndexChanged. Fails.
We have a problem with KisDoc2::undoIndexChanged. The problem is it notifies listeners wrongly! Its 'idx' parameter refers to "the command that will be executed on the next redo()", but *not* a command that was undone/redone right now! It means that our mechanism of notifying listeners is broken. The bug has been reported by Marc, as it affects transform tool. I don't know how to fix it as it seems to depend on Qt's QUndoStack much. So i just wrote the test for the problem. What do you think about it? CCMAIL:email@example.com svn path=/trunk/koffice/; revision=1140323
Showing with 189 additions and 0 deletions