MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setFrameEnd

Method setFrameEnd

app/src/DataModel/Editors/FrameParserModel.cpp:403–411  ·  view source on GitHub ↗

* @brief Persists the frame end delimiter to the source. */

Source from the content-addressed store, hash-verified

401 * @brief Persists the frame end delimiter to the source.
402 */
403void 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.

Callers

nothing calls this directly

Calls 1

updateSourceMethod · 0.80

Tested by

no test coverage detected