[Libreoffice-commits] core.git: sc/source
Dennis Francis
dennisfrancis.in at gmail.com
Mon Oct 19 05:08:34 PDT 2015
sc/source/ui/cctrl/checklistmenu.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit f34ac236b9ed96f5c9158f1d833afefadbdb9395
Author: Dennis Francis <dennisfrancis.in at 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 <erack at redhat.com>
Tested-by: Eike Rathke <erack at 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 )
More information about the Libreoffice-commits
mailing list