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)
|
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!") ;
|
"to start scanning on the next side.") : tr("Scan completed!") ;
|
||||||
TRIGGER_EVENT(InvokeOperationEnd, nullptr, (QObject *)&msg);
|
TRIGGER_EVENT(InvokeOperationEnd, nullptr, (QObject *)&msg);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user