sc/source/ui/cctrl/checklistmenu.cxx |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit ca5701e9d4bb62c45920b6617de59bd9c6b529c7
Author:     Jim Raykowski <rayk...@gmail..com>
AuthorDate: Sun Sep 29 11:40:48 2019 -0800
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Thu Oct 17 08:31:21 2019 +0200

    tdf#122570 Make Enter key work in autofilter search items input
    
    Fixes regression introduced by patch for tdf#122774
    
    Change-Id: I24fc8a32cbb660027fb40fb017d03567e784aa77
    Reviewed-on: https://gerrit.libreoffice.org/79815
    Tested-by: Jenkins
    Reviewed-by: Jim Raykowski <rayk...@gmail.com>
    (cherry picked from commit d09dc224977c498356ab76738afe03136c98fabe)
    Reviewed-on: https://gerrit.libreoffice.org/80880
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/sc/source/ui/cctrl/checklistmenu.cxx 
b/sc/source/ui/cctrl/checklistmenu.cxx
index 413cf36704c0..6a8a51a0328e 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -1343,12 +1343,7 @@ bool ScCheckListMenuWindow::EventNotify(NotifyEvent& 
rNEvt)
         const KeyEvent* pKeyEvent = rNEvt.GetKeyEvent();
         const vcl::KeyCode& rCode = pKeyEvent->GetKeyCode();
         const sal_uInt16 nCode = rCode.GetCode();
-        if (rCode.IsMod2()) // Hack to prevent tdf#122772
-        {
-            if (nCode == KEY_DOWN || nCode == KEY_RIGHT)
-                return true;
-        }
-        else
+        if (nCode != KEY_RETURN)
         {
             bool bShift = rCode.IsShift();
             if (nCode == KEY_TAB)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to