* @brief Persists the decoder method to the source. */
| 348 | * @brief Persists the decoder method to the source. |
| 349 | */ |
| 350 | void DataModel::FrameParserModel::setDecoderIndex(int index) |
| 351 | { |
| 352 | if (index < 0 || index == decoderIndex()) |
| 353 | return; |
| 354 | |
| 355 | auto src = currentSource(); |
| 356 | src.decoderMethod = index; |
| 357 | ProjectModel::instance().updateSource(m_sourceId, src); |
| 358 | } |
| 359 | |
| 360 | /** |
| 361 | * @brief Persists the frame detection mode to the source. |
nothing calls this directly
no test coverage detected