| 17 | } |
| 18 | |
| 19 | void SourceInteractionStepList::SetSteps( |
| 20 | const std::vector<SourceInteractionStep> &steps) |
| 21 | { |
| 22 | _steps = steps; |
| 23 | |
| 24 | _list->clear(); |
| 25 | for (const auto &step : _steps) { |
| 26 | _list->addItem(QString::fromStdString(step.ToString())); |
| 27 | } |
| 28 | |
| 29 | UpdateListSize(); |
| 30 | |
| 31 | _list->setCurrentRow(-1); |
| 32 | } |
| 33 | |
| 34 | void SourceInteractionStepList::UpdateStep(int row, |
| 35 | const SourceInteractionStep &step) |
no test coverage detected