[Libreoffice-commits] core.git: sc/source

Jim Raykowski (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 2 01:56:31 UTC 2019


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

New commits:
commit d09dc224977c498356ab76738afe03136c98fabe
Author:     Jim Raykowski <raykowj at gmail..com>
AuthorDate: Sun Sep 29 11:40:48 2019 -0800
Commit:     Jim Raykowski <raykowj at gmail.com>
CommitDate: Wed Oct 2 03:55:37 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 <raykowj at gmail.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)


More information about the Libreoffice-commits mailing list