reset image count when starting a new scanning

This commit is contained in:
gb 2023-05-17 11:49:30 +08:00
parent d2df66b41a
commit b522cd9836
1 changed files with 1 additions and 0 deletions

View File

@ -3203,6 +3203,7 @@ int scanner::handle_device_event(int ev_code, void* data, unsigned int* len)
{
if (ev_code == SANE_EVENT_WORKING)
{
img_ind_ = 0;
if (indicator_.get())
indicator_->notify_working();
else if (callback::show_progress_ui && is_bIndicator)