summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/window/layout.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 179467137c38..462eba1f3c2d 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -1484,6 +1484,9 @@ void VclExpander::StateChanged(StateChangedType nType)
if (!pLabelWidget->get_mnemonic_widget())
pLabelWidget->set_mnemonic_widget(&m_aDisclosureButton);
}
+
+ if (pChild)
+ pChild->Show(m_aDisclosureButton.IsChecked());
}
}