| 466 | } |
| 467 | |
| 468 | void 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 | |
| 480 | void QuickRefactorDialog::onAddCustomCommand() |
| 481 | { |