Fixed nested PanelWidget bug where parent widgets were being affected by PanelWidget::updateVisibility()
This commit is contained in:
@@ -69,7 +69,7 @@ namespace Bloom::Widgets
|
|||||||
}
|
}
|
||||||
|
|
||||||
void PanelWidget::updateVisibility() {
|
void PanelWidget::updateVisibility() {
|
||||||
const auto paneWidgets = this->findChildren<PaneWidget*>();
|
const auto paneWidgets = this->findChildren<PaneWidget*>(QString(), Qt::FindDirectChildrenOnly);
|
||||||
|
|
||||||
auto visible = false;
|
auto visible = false;
|
||||||
for (const auto& paneWidget : paneWidgets) {
|
for (const auto& paneWidget : paneWidgets) {
|
||||||
|
|||||||
Reference in New Issue
Block a user