reset image count when starting a new scanning
This commit is contained in:
parent
d2df66b41a
commit
b522cd9836
|
@ -3203,6 +3203,7 @@ int scanner::handle_device_event(int ev_code, void* data, unsigned int* len)
|
||||||
{
|
{
|
||||||
if (ev_code == SANE_EVENT_WORKING)
|
if (ev_code == SANE_EVENT_WORKING)
|
||||||
{
|
{
|
||||||
|
img_ind_ = 0;
|
||||||
if (indicator_.get())
|
if (indicator_.get())
|
||||||
indicator_->notify_working();
|
indicator_->notify_working();
|
||||||
else if (callback::show_progress_ui && is_bIndicator)
|
else if (callback::show_progress_ui && is_bIndicator)
|
||||||
|
|
Loading…
Reference in New Issue