summaryrefslogtreecommitdiff
path: root/src/xsane-scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xsane-scan.c')
-rw-r--r--src/xsane-scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xsane-scan.c b/src/xsane-scan.c
index d6e164a..fb32ba6 100644
--- a/src/xsane-scan.c
+++ b/src/xsane-scan.c
@@ -1602,6 +1602,7 @@ void xsane_scan_done(SANE_Status status)
else
{
DBG(DBG_info, "Normal end of scan\n");
+ xsane.adf_page_counter = 0;
xsane_set_sensitivity(TRUE); /* reactivate buttons etc */
sane_cancel(xsane.dev); /* stop scanning */
xsane_update_histogram(TRUE /* update raw */);