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