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

reload device list when opening device dialog

parent f135f4a0
......@@ -261,9 +261,7 @@ QString KSaneWidget::selectDevice(QWidget *parent)
connect(d->m_ksaneCoreInterface, &KSaneCore::availableDevices, sel, &KSaneDeviceDialog::updateDevicesList);
connect(sel, &KSaneDeviceDialog::requestReloadList, d->m_ksaneCoreInterface, &KSaneCore::reloadDevicesList);
// set default scanner - perhaps application using libksane should remember that
// 2014-01-21: gm: +1
// sel.setDefault(prev_backend);
if (sel->exec() == QDialog::Accepted) {
selected_name = sel->getSelectedName();
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