| 49 | } |
| 50 | |
| 51 | void StaticModel::connectUndoSystem(IUndoSystem& undoSystem) |
| 52 | { |
| 53 | assert(_undoStateSaver == nullptr); |
| 54 | |
| 55 | _undoStateSaver = undoSystem.getStateSaver(*this); |
| 56 | } |
| 57 | |
| 58 | void StaticModel::disconnectUndoSystem(IUndoSystem& undoSystem) |
| 59 | { |
no test coverage detected