diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-09-05 17:20:51 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-09-05 17:20:51 +0200 |
commit | 70e9dfc97f5a3c3bde70547a0a7d586d187f7245 (patch) | |
tree | 7bc1feeb2c3fe963185697c4c8eec4b717318938 /src/scanner.vala | |
parent | 3fbb9230e021593a66363b97e9da4fd3f3c64c62 (diff) | |
parent | cceb61b6d24cf8e9f915247c2a09ead260c6834b (diff) |
Merge branch 'release/debian/3.30.0-1'debian/3.30.0-1
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) { |