feat: Update empty scan complete dialog logic.

This commit is contained in:
sunwen
2025-07-17 13:57:42 +08:00
parent 4ea5fd36da
commit 5d4a41d82d

View File

@@ -467,7 +467,7 @@ 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"
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);
}