From 761c4477a1031c42062e71fca7def0d3ab925bd8 Mon Sep 17 00:00:00 2001 From: Arttu Tarkiainen Date: Mon, 19 Apr 2021 11:09:02 +0300 Subject: Fix updating visibility of the QToolBox widget on ComponentSelectionPage Using a stylesheet with transparent background property for most widgets revealed the page's QToolBox widget and its children were not hidden properly when category layout was hidden. Change-Id: Ic710b348c50edef823d27eccd6092d531da24bf9 Reviewed-by: Katja Marttila --- src/libs/installer/componentselectionpage_p.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libs') diff --git a/src/libs/installer/componentselectionpage_p.cpp b/src/libs/installer/componentselectionpage_p.cpp index 174b35038..974ae1502 100644 --- a/src/libs/installer/componentselectionpage_p.cpp +++ b/src/libs/installer/componentselectionpage_p.cpp @@ -280,6 +280,7 @@ void ComponentSelectionPagePrivate::showCategoryLayout(bool show) m_mainGLayout->removeWidget(m_toolBox); m_mainGLayout->addWidget(m_descriptionBaseWidget, 1, 1); } + m_toolBox->setVisible(show); m_categoryLayoutVisible = show; } -- cgit v1.2.3