Commit caeace8b authored by Alexander Stippich's avatar Alexander Stippich
Browse files

make the scan button the focus proxy for KSaneWidget

parent dbe6df5c
......@@ -126,6 +126,7 @@ KSaneWidget::KSaneWidget(QWidget *parent)
d->m_scanBtn->setToolTip(i18n("Scan Final Image (%1)", scanShortcut->key().toString()));
d->m_scanBtn->setText(i18nc("Final scan button text", "Scan"));
d->m_scanBtn->setFocus(Qt::OtherFocusReason);
setFocusProxy(d->m_scanBtn);
connect(d->m_scanBtn, &QToolButton::clicked, d, &KSaneWidgetPrivate::startFinalScan);
d->m_btnFrame = new QWidget;
......
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