* @brief Persists the frame end delimiter to the source. */
| 401 | * @brief Persists the frame end delimiter to the source. |
| 402 | */ |
| 403 | void DataModel::FrameParserModel::setFrameEnd(const QString& sequence) |
| 404 | { |
| 405 | auto src = currentSource(); |
| 406 | if (src.frameEnd == sequence) |
| 407 | return; |
| 408 | |
| 409 | src.frameEnd = sequence; |
| 410 | ProjectModel::instance().updateSource(m_sourceId, src); |
| 411 | } |
| 412 | |
| 413 | /** |
| 414 | * @brief Persists the hex-delimiters toggle to the source. |
nothing calls this directly
no test coverage detected