| 112 | |
| 113 | |
| 114 | void CutoutOperation::commit() |
| 115 | { |
| 116 | if (auto undo_step = finish()) |
| 117 | { |
| 118 | map->setObjectsDirty(); |
| 119 | map->push(undo_step); |
| 120 | map->emitSelectionEdited(); |
| 121 | } |
| 122 | add_step = nullptr; |
| 123 | } |
| 124 | |
| 125 | |
| 126 | UndoStep* CutoutOperation::finish() |
no test coverage detected