Skip to content
  • Dmitry Kazakov's avatar
    A test for KisDoc2::undoIndexChanged. Fails. · f3bdd851
    Dmitry Kazakov authored
    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:kimageshop@kde.org
    
    svn path=/trunk/koffice/; revision=1140323
    f3bdd851