diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/PanelWidget.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/PanelWidget.cpp index 4b31a320..61c1ce0f 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/PanelWidget.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/PanelWidget.cpp @@ -69,7 +69,7 @@ namespace Bloom::Widgets } void PanelWidget::updateVisibility() { - const auto paneWidgets = this->findChildren(); + const auto paneWidgets = this->findChildren(QString(), Qt::FindDirectChildrenOnly); auto visible = false; for (const auto& paneWidget : paneWidgets) {