diff --git a/src/ui/uas/UASListWidget.cc b/src/ui/uas/UASListWidget.cc index 47b96f961c0d787fc077ab331443b6e36b5dcecf..f0ce7951216cfdac89b924ed655711f64c85183f 100644 --- a/src/ui/uas/UASListWidget.cc +++ b/src/ui/uas/UASListWidget.cc @@ -134,6 +134,7 @@ void UASListWidget::addUAS(UASInterface* uas) if (uasViews.isEmpty()) { updateTimer->start(5000); + if (uWidget) { m_ui->verticalLayout->removeWidget(uWidget);