summaryrefslogtreecommitdiff
path: root/src/app-window.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-05-26 20:11:42 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-05-26 20:11:42 +0200
commit0384af9b7c644427247bbcba974a7afe1f93850c (patch)
tree76dff496ba5ef089b079931c7cca690332ec55a0 /src/app-window.vala
parentf28a81d5dc42ca1cf29a33d4cf6a376e5638eb67 (diff)
New upstream version 3.36.2.1upstream/3.36.2.1
Diffstat (limited to 'src/app-window.vala')
-rw-r--r--src/app-window.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app-window.vala b/src/app-window.vala
index 0e25f8d..446353d 100644
--- a/src/app-window.vala
+++ b/src/app-window.vala
@@ -919,13 +919,14 @@ public class AppWindow : Gtk.ApplicationWindow
{
options.scan_mode = ScanMode.GRAY;
options.dpi = preferences_dialog.get_text_dpi ();
+ options.depth = 2;
}
else
{
options.scan_mode = ScanMode.COLOR;
options.dpi = preferences_dialog.get_photo_dpi ();
+ options.depth = 8;
}
- options.depth = 8;
preferences_dialog.get_paper_size (out options.paper_width, out options.paper_height);
options.brightness = brightness;
options.contrast = contrast;