Commit 96091df0 authored by Alexander Stippich's avatar Alexander Stippich
Browse files

give focus to KSaneWidget

BUG: 430238
parent 2bcd0daf
...@@ -202,6 +202,7 @@ Skanlite::Skanlite(const QString &device, QWidget *parent) ...@@ -202,6 +202,7 @@ Skanlite::Skanlite(const QString &device, QWidget *parent)
loadScannerOptions(); loadScannerOptions();
m_firstImage = true; m_firstImage = true;
m_ksanew->setFocus();
if (m_dbusInterface.setupDBusInterface()) { if (m_dbusInterface.setupDBusInterface()) {
// D-Bus related slots // D-Bus related slots
...@@ -563,6 +564,7 @@ void Skanlite::imageSaved(const QUrl &fileUrl, const QString &localName, bool su ...@@ -563,6 +564,7 @@ void Skanlite::imageSaved(const QUrl &fileUrl, const QString &localName, bool su
Q_EMIT m_dbusInterface.imageSaved(localName); Q_EMIT m_dbusInterface.imageSaved(localName);
} }
m_ksanew->setDisabled(false); m_ksanew->setDisabled(false);
m_ksanew->setFocus();
m_saveUpdateTimer.stop(); m_saveUpdateTimer.stop();
m_saveProgressBar->setVisible(false); m_saveProgressBar->setVisible(false);
......
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