mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 14:35:23 +00:00
attempt to connect at startup with empty devicelist (triggers udev info msg)
This commit is contained in:
parent
1194894a12
commit
dd8f0c4fa9
2 changed files with 7 additions and 4 deletions
|
|
@ -242,7 +242,8 @@ AppWindow::AppWindow(QWidget *parent)
|
|||
qRegisterMetaType<Protocol::AmplitudeCorrectionPoint>("AmplitudeCorrection");
|
||||
|
||||
// List available devices
|
||||
if(UpdateDeviceList() && Preferences::getInstance().Startup.ConnectToFirstDevice) {
|
||||
UpdateDeviceList();
|
||||
if(Preferences::getInstance().Startup.ConnectToFirstDevice) {
|
||||
// at least one device available
|
||||
ConnectToDevice();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue