| 105 | } |
| 106 | |
| 107 | std::string DocumentUndo::nextRedoLabel() const |
| 108 | { |
| 109 | const undo::UndoState* state = nextRedo(); |
| 110 | if (state) |
| 111 | return static_cast<const Cmd*>(state->cmd())->label(); |
| 112 | else |
| 113 | return ""; |
| 114 | } |
| 115 | |
| 116 | SpritePosition DocumentUndo::nextUndoSpritePosition() const |
| 117 | { |