MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / onCutPressed

Method onCutPressed

Tactility/Source/app/files/View.cpp:725–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723}
724
725void View::onCutPressed() {
726 std::string path = state->getSelectedChildPath();
727 state->setClipboard(path, true);
728 LOGGER.info("Cut to clipboard: {}", path);
729 onNavigate();
730 update();
731}
732
733void View::onPastePressed() {
734 auto clipboard = state->getClipboard();

Callers 1

onCutPressedCallbackFunction · 0.80

Calls 3

setClipboardMethod · 0.80
infoMethod · 0.80
getSelectedChildPathMethod · 0.45

Tested by

no test coverage detected