diff --git a/qt/devicesdialog.cpp b/qt/devicesdialog.cpp index df37df9d..88aa56ff 100644 --- a/qt/devicesdialog.cpp +++ b/qt/devicesdialog.cpp @@ -147,6 +147,11 @@ int DevicesDialog::exec() if (_devices.empty()) return QDialog::Rejected; + if (_devices.size() == 1 && _devices.front().Device) + { + return QDialog::Accepted; + } + return QDialog::exec(); }