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

Method onRenamePressed

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

Source from the content-addressed store, hash-verified

380}
381
382void View::onRenamePressed() {
383 std::string entry_name = state->getSelectedChildEntry();
384 LOGGER.info("Pending rename {}", entry_name);
385 state->setPendingAction(State::ActionRename);
386 inputdialog::start("Rename", "", entry_name);
387}
388
389void View::onDeletePressed() {
390 std::string file_path = state->getSelectedChildPath();

Callers 1

onRenamePressedCallbackFunction · 0.80

Calls 4

infoMethod · 0.80
setPendingActionMethod · 0.80
startFunction · 0.70
getSelectedChildEntryMethod · 0.45

Tested by

no test coverage detected