Commit a90b83fa authored by Sebastian Goth's avatar Sebastian Goth Committed by Alexander Stippich
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 ff9a4807
......@@ -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")) {
Markdown is supported
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