| 4213 | } |
| 4214 | |
| 4215 | void |
| 4216 | LayoutViewBase::finish_edits () |
| 4217 | { |
| 4218 | // the move service takes a special role here as it manages the |
| 4219 | // transaction for the collective move operation. |
| 4220 | if (mp_move_service) { |
| 4221 | mp_move_service->finish_transaction (); |
| 4222 | } |
| 4223 | |
| 4224 | // cancel all drag operations |
| 4225 | mp_canvas->drag_cancel (); |
| 4226 | lay::Editables::finish_edits (); |
| 4227 | |
| 4228 | // re-enable edit mode |
| 4229 | enable_edits (true); |
| 4230 | } |
| 4231 | |
| 4232 | void |
| 4233 | LayoutViewBase::cancel () |
nothing calls this directly
no test coverage detected