[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sc/source

Dennis Francis dennisfrancis.in at gmail.com
Mon Oct 19 05:50:45 PDT 2015


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

New commits:
commit 01af5056ca9162abf55f87c374df0bf32437daa2
Author: Dennis Francis <dennisfrancis.in at gmail.com>
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 <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>
    (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 <dennisfrancis.in at gmail.com>
    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 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;
 }
 


More information about the Libreoffice-commits mailing list