diff --git a/makespec/BUILDVERSION b/makespec/BUILDVERSION index 52a539b0..600eb9a4 100644 --- a/makespec/BUILDVERSION +++ b/makespec/BUILDVERSION @@ -1 +1 @@ -5688 +5689 diff --git a/src/ui/windows/w_MainWindow.cpp b/src/ui/windows/w_MainWindow.cpp index c7f3580b..ce9257d2 100644 --- a/src/ui/windows/w_MainWindow.cpp +++ b/src/ui/windows/w_MainWindow.cpp @@ -1034,17 +1034,17 @@ void MainWindow::on_action_RCM_UpdateSubscription_triggered() void MainWindow::on_action_RCM_LatencyTest_triggered() { - auto current = connectionListWidget->currentItem(); - if (current != nullptr) + for (const auto ¤t : connectionListWidget->selectedItems()) { - auto widget = GetItemWidget(current); - if (widget) - { - if (widget->IsConnection()) - ConnectionManager->StartLatencyTest(widget->Identifier().connectionId); - else - ConnectionManager->StartLatencyTest(widget->Identifier().groupId); - } + if (!current) + continue; + const auto widget = GetItemWidget(current); + if (!widget) + continue; + if (widget->IsConnection()) + ConnectionManager->StartLatencyTest(widget->Identifier().connectionId); + else + ConnectionManager->StartLatencyTest(widget->Identifier().groupId); } }