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

Method cancelImport

app/src/DataModel/Importers/ModbusMapImporter.cpp:402–408  ·  view source on GitHub ↗

* @brief Clears the import state. */

Source from the content-addressed store, hash-verified

400 * @brief Clears the import state.
401 */
402void DataModel::ModbusMapImporter::cancelImport()
403{
404 m_registers.clear();
405 m_filePath.clear();
406 Q_EMIT registersChanged();
407 Q_EMIT fileNameChanged();
408}
409
410//--------------------------------------------------------------------------------------------------
411// CSV parser

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected