mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 14:35:23 +00:00
work around WinUSB limitation of only one open device handle
This commit is contained in:
parent
4deaddf5d3
commit
6f717de0f1
5 changed files with 79 additions and 27 deletions
|
|
@ -263,6 +263,9 @@ int AppWindow::UpdateDeviceList()
|
|||
deviceActionGroup->setExclusive(true);
|
||||
ui->menuConnect_to->clear();
|
||||
auto devices = Device::GetDevices();
|
||||
if(device) {
|
||||
devices.insert(device->serial());
|
||||
}
|
||||
if(devices.size()) {
|
||||
for(auto d : devices) {
|
||||
auto connectAction = ui->menuConnect_to->addAction(d);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue