feat: Update empty scan complete dialog logic.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user