[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Fri Jul 12 04:35:05 PDT 2013
vcl/source/window/layout.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 06ac689a8d3887519d98a616f9a1727fcc7d0bf6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Jul 12 12:34:18 2013 +0100
initial unexpanded child was actually zero size, not hidden
Change-Id: I8b65b4986bf316e352131e737ebf736d91173d16
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 1794671..462eba1f 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());
}
}
More information about the Libreoffice-commits
mailing list