summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-12 12:34:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-12 12:34:18 +0100
commit06ac689a8d3887519d98a616f9a1727fcc7d0bf6 (patch)
treec4e10181cffa8de13649e7a57e59ef69746ad1ad /vcl
parent76789dd61c750b5655fc4dcd7629b12e1ff5d17b (diff)
initial unexpanded child was actually zero size, not hidden
Change-Id: I8b65b4986bf316e352131e737ebf736d91173d16
Diffstat (limited to 'vcl')
-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());
}
}