diff options
author | Dennis Francis <dennisfrancis.in@gmail.com> | 2015-10-14 22:44:56 +0530 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-10-19 12:08:14 +0000 |
commit | f34ac236b9ed96f5c9158f1d833afefadbdb9395 (patch) | |
tree | 1d323d3dce5c071da45176c22c7680db5611eab8 | |
parent | d4b43c8aa874e32fed7db308ca4ad9816123e61a (diff) |
tdf#94908 : Autofilter ok button is blocked
Change-Id: I0a1ad60cb6eea26899604641f981642943b06347
Reviewed-on: https://gerrit.libreoffice.org/19375
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sc/source/ui/cctrl/checklistmenu.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index f4c51a2ebd0f..359c9ed6bf3e 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 ) |