sc/source/ui/cctrl/checklistmenu.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit f34ac236b9ed96f5c9158f1d833afefadbdb9395 Author: Dennis Francis <dennisfrancis...@gmail.com> Date: Wed Oct 14 22:44:56 2015 +0530 tdf#94908 : Autofilter ok button is blocked Change-Id: I0a1ad60cb6eea26899604641f981642943b06347 Reviewed-on: https://gerrit.libreoffice.org/19375 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Eike Rathke <er...@redhat.com> diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index f4c51a2..359c9ed 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -1254,6 +1254,9 @@ IMPL_LINK_NOARG_TYPED(ScCheckListMenuWindow, EdModifyHdl, Edit&, void) maChkToggleAll->SetState( TRISTATE_FALSE ); else maChkToggleAll->SetState( TRISTATE_INDET ); + + if ( !maConfig.mbAllowEmptySet ) + maBtnOk->Enable( nSelCount != 0); } IMPL_LINK_TYPED( ScCheckListMenuWindow, CheckHdl, SvTreeListBox*, pChecks, void ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits