MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / commit

Method commit

src/tools/cutout_operation.cpp:114–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112
113
114void 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
126UndoStep* CutoutOperation::finish()

Callers 7

applyMethod · 0.80
commitPreeditMethod · 0.80
saveTemplateFileMethod · 0.80
saveToMethod · 0.80
doExportMethod · 0.80
doExportMethod · 0.80
readForTextMethod · 0.80

Calls 3

setObjectsDirtyMethod · 0.80
emitSelectionEditedMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected