MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / onCommandSelected

Method onCommandSelected

widgets/QuickRefactorDialog.cpp:468–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466}
467
468void QuickRefactorDialog::onCommandSelected(int index)
469{
470 if (index <= 0) {
471 return;
472 }
473
474 CustomInstruction instruction = findCurrentInstruction();
475 if (!instruction.id.isEmpty()) {
476 m_instructionEdit->setPlainText(instruction.body);
477 }
478}
479
480void QuickRefactorDialog::onAddCustomCommand()
481{

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected