[Libreoffice-commits] .: sw/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Thu Oct 6 15:49:29 PDT 2011
sw/source/ui/misc/pggrid.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 11c4ce59cbfcae676583488b8750393c4485220d
Author: Takeshi Abe <tabe at 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;
}
More information about the Libreoffice-commits
mailing list