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

Method setFrameStart

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

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

Source from the content-addressed store, hash-verified

388 * @brief Persists the frame start delimiter to the source.
389 */
390void DataModel::FrameParserModel::setFrameStart(const QString& sequence)
391{
392 auto src = currentSource();
393 if (src.frameStart == sequence)
394 return;
395
396 src.frameStart = sequence;
397 ProjectModel::instance().updateSource(m_sourceId, src);
398}
399
400/**
401 * @brief Persists the frame end delimiter to the source.

Callers

nothing calls this directly

Calls 1

updateSourceMethod · 0.80

Tested by

no test coverage detected