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

Method setAutoSaveSuspended

app/src/DataModel/ProjectModel.cpp:7700–7708  ·  view source on GitHub ↗

* @brief Suspends or resumes the debounced autosave (used by the API batch endpoint). */

Source from the content-addressed store, hash-verified

7698 * @brief Suspends or resumes the debounced autosave (used by the API batch endpoint).
7699 */
7700void DataModel::ProjectModel::setAutoSaveSuspended(bool suspend)
7701{
7702 if (m_autoSaveSuspended == suspend)
7703 return;
7704
7705 m_autoSaveSuspended = suspend;
7706 if (suspend && m_autoSaveTimer)
7707 m_autoSaveTimer->stop();
7708}
7709
7710/**
7711 * @brief Atomically serializes the current project to @p path.

Callers 4

datasetAddManyMethod · 0.80
projectBatchMethod · 0.80

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected