sw/source/ui/misc/pggrid.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 11c4ce59cbfcae676583488b8750393c4485220d Author: Takeshi Abe <t...@fixedpoint.jp> Date: Thu Oct 6 20:15:19 2011 +0900 fdo#41187 - "Prind grid" possible only when "Display grid" checked diff --git a/sw/source/ui/misc/pggrid.cxx b/sw/source/ui/misc/pggrid.cxx index 7d315d8..1507b94 100644 --- a/sw/source/ui/misc/pggrid.cxx +++ b/sw/source/ui/misc/pggrid.cxx @@ -518,7 +518,9 @@ IMPL_LINK(SwTextGridPage, GridTypeHdl, RadioButton*, pButton) IMPL_LINK(SwTextGridPage, DisplayGridHdl, CheckBox*, EMPTYARG) { - aPrintCB.Enable(aDisplayCB.IsChecked()); + sal_Bool bChecked = aDisplayCB.IsChecked(); + aPrintCB.Enable(bChecked); + aPrintCB.Check(bChecked); return 0; } _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits