diff --git a/src/device/DeviceManager.cpp b/src/device/DeviceManager.cpp index 32c555f..ab7e213 100644 --- a/src/device/DeviceManager.cpp +++ b/src/device/DeviceManager.cpp @@ -317,6 +317,7 @@ void DeviceManager::startScan(const QString& json, bool empty) { QString errMsg(empty ? tr("Device is not ready, start empty scan operation failed!") : tr("Device is not ready, start scan operation failed!")); THROW_ERROR(errMsg); + TRIGGER_EVENT(StopScanProcess, nullptr, nullptr); return; } AppGlobalValues::setEmptyScanFlag(empty);