fix bug-497
This commit is contained in:
parent
343a17523b
commit
35993f35a7
|
@ -3133,8 +3133,10 @@ int hg_scanner::try_third_app_handle_start(bool& handled)
|
||||||
|
|
||||||
if (user_cancel_)
|
if (user_cancel_)
|
||||||
handled = false;
|
handled = false;
|
||||||
else
|
else if (status_ == SCANNER_ERR_OK)
|
||||||
ret = SCANNER_ERR_DEVICE_NO_PAPER;
|
ret = SCANNER_ERR_DEVICE_NO_PAPER;
|
||||||
|
else
|
||||||
|
ret = status_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (final_img_index_)
|
else if (final_img_index_)
|
||||||
|
@ -3143,8 +3145,10 @@ int hg_scanner::try_third_app_handle_start(bool& handled)
|
||||||
|
|
||||||
if (user_cancel_)
|
if (user_cancel_)
|
||||||
handled = false;
|
handled = false;
|
||||||
else
|
else if (status_ == SCANNER_ERR_OK)
|
||||||
ret = SCANNER_ERR_DEVICE_NO_PAPER;
|
ret = SCANNER_ERR_DEVICE_NO_PAPER;
|
||||||
|
else
|
||||||
|
ret = status_;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
handled = false;
|
handled = false;
|
||||||
|
|
Loading…
Reference in New Issue