diff options
Diffstat (limited to 'src/scanner.vala')
-rw-r--r-- | src/scanner.vala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/scanner.vala b/src/scanner.vala index cd7c300..58141b8 100644 --- a/src/scanner.vala +++ b/src/scanner.vala @@ -1331,6 +1331,13 @@ public class Scanner return; } + /* Some ADF scanners only return NO_DOCS after a read */ + if (status == Sane.Status.NO_DOCS) + { + do_complete_document (); + return; + } + /* Communication error */ if (status != Sane.Status.GOOD) { |