设置界面启动扫描,无图失败后,增加调用notifyCloseCancel以通知APP更改当前状态。for BUG-808 and BUG-811
This commit is contained in:
parent
24d05a6441
commit
dbb9c2d778
|
@ -3904,8 +3904,9 @@ int huagao_ds::handle_scanner_event(int ev, bool from_event_proc)
|
||||||
load_sane_util::log_info(msg, 1);
|
load_sane_util::log_info(msg, 1);
|
||||||
|
|
||||||
scanner_status_ = SCANNER_STATUS_STOPPED;
|
scanner_status_ = SCANNER_STATUS_STOPPED;
|
||||||
if(bUiOnly_)
|
|
||||||
rc = notifyCloseCancel();
|
// start from UI, start faile should notifyCloseCancel to complete this turn: BUG-808
|
||||||
|
rc = notifyCloseCancel();
|
||||||
if (Twpp::success(rc))
|
if (Twpp::success(rc))
|
||||||
{
|
{
|
||||||
scanner_status_ = SCANNER_STATUS_READY;
|
scanner_status_ = SCANNER_STATUS_READY;
|
||||||
|
|
Loading…
Reference in New Issue