sc/source/ui/cctrl/checklistmenu.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 01af5056ca9162abf55f87c374df0bf32437daa2
Author: Dennis Francis <[email protected]>
Date:   Wed Oct 14 22:44:56 2015 +0530

    tdf#94908 : Autofilter ok button is blocked
    
    Reviewed-on: https://gerrit.libreoffice.org/19375
    Reviewed-by: Eike Rathke <[email protected]>
    Tested-by: Eike Rathke <[email protected]>
    (cherry picked from commit f34ac236b9ed96f5c9158f1d833afefadbdb9395)
    
    Conflicts:
        sc/source/ui/cctrl/checklistmenu.cxx
    
    Change-Id: I0a1ad60cb6eea26899604641f981642943b06347
    Reviewed-on: https://gerrit.libreoffice.org/19452
    Reviewed-by: Dennis Francis <[email protected]>
    Reviewed-by: Eike Rathke <[email protected]>
    Tested-by: Eike Rathke <[email protected]>

diff --git a/sc/source/ui/cctrl/checklistmenu.cxx 
b/sc/source/ui/cctrl/checklistmenu.cxx
index b4dc71b..8dca698 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -1257,6 +1257,9 @@ IMPL_LINK_NOARG(ScCheckListMenuWindow, EdModifyHdl)
     else
         maChkToggleAll->SetState( TRISTATE_INDET );
 
+    if ( !maConfig.mbAllowEmptySet )
+        maBtnOk->Enable( nSelCount != 0);
+
     return 0;
 }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to