diff --git a/src/device/DeviceManager.cpp b/src/device/DeviceManager.cpp index 3918639..c532685 100644 --- a/src/device/DeviceManager.cpp +++ b/src/device/DeviceManager.cpp @@ -467,8 +467,8 @@ void DeviceManager::prepareFinishScan(bool isNormalFinish, const QString& aReaso if(isCompleteNotify) { - QString msg = ScanProcessSequence::getInstance()->getScanPositionSize() == 2 ? tr("Scan completed! Please prepare for the next scan. \nAfter lying down, click the confirm button" - "to start scanning on the next side.") : tr("Scan completed!") ; + QString msg = (!mIsEmptyScan && ScanProcessSequence::getInstance()->getScanPositionSize() == 2) ? tr("Scan completed! Please prepare for the next scan. \nAfter lying down, click the confirm button" + "to start scanning on the next side.") : tr("Scan completed!") ; TRIGGER_EVENT(InvokeOperationEnd, nullptr, (QObject *)&msg); } else