diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-12 12:34:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-12 12:34:18 +0100 |
commit | 06ac689a8d3887519d98a616f9a1727fcc7d0bf6 (patch) | |
tree | c4e10181cffa8de13649e7a57e59ef69746ad1ad | |
parent | 76789dd61c750b5655fc4dcd7629b12e1ff5d17b (diff) |
initial unexpanded child was actually zero size, not hidden
Change-Id: I8b65b4986bf316e352131e737ebf736d91173d16
-rw-r--r-- | vcl/source/window/layout.cxx | 3 |
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()); } } |