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

Method updatePasteAvailability

src/gui/map/map_editor.cpp:2698–2707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2696}
2697
2698void MapEditorController::updatePasteAvailability()
2699{
2700 if (paste_act)
2701 {
2702 paste_act->setEnabled(
2703 QApplication::clipboard()->mimeData()
2704 && QApplication::clipboard()->mimeData()->hasFormat(MimeType::OpenOrienteeringObjects())
2705 && !editing_in_progress);
2706 }
2707}
2708
2709void MapEditorController::showWholeMap()
2710{

Callers

nothing calls this directly

Calls 2

OpenOrienteeringObjectsFunction · 0.85
setEnabledMethod · 0.45

Tested by

no test coverage detected