fix bug-497

This commit is contained in:
gb 2023-07-31 11:15:22 +08:00
parent 343a17523b
commit 35993f35a7
1 changed files with 6 additions and 2 deletions

View File

@ -3133,8 +3133,10 @@ int hg_scanner::try_third_app_handle_start(bool& handled)
if (user_cancel_)
handled = false;
else
else if (status_ == SCANNER_ERR_OK)
ret = SCANNER_ERR_DEVICE_NO_PAPER;
else
ret = status_;
}
}
else if (final_img_index_)
@ -3143,8 +3145,10 @@ int hg_scanner::try_third_app_handle_start(bool& handled)
if (user_cancel_)
handled = false;
else
else if (status_ == SCANNER_ERR_OK)
ret = SCANNER_ERR_DEVICE_NO_PAPER;
else
ret = status_;
}
else
handled = false;