Commit 90f924ee authored by Sebastian Goth's avatar Sebastian Goth
Browse files

Fix multi page detection when 'source' is const

Explicitly call multi page detection once.
Some scanners like EPSON DS-310 only have a single scan source which
never changes.
parent cef1e7cd
......@@ -161,6 +161,8 @@ KSaneCore::KSaneOpenStatus KSaneCorePrivate::loadDeviceOptions()
optionResolution = option;
if (option->name() == QStringLiteral(SANE_NAME_SCAN_SOURCE)) {
// some scanners only have ADF and never update the source name
connect(option, &KSaneBaseOption::valueChanged, this, &KSaneCorePrivate::determineMultiPageScanning);
if (option->name() == QStringLiteral("wait-for-button")) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment