summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail..com>2019-09-29 11:40:48 -0800
committerJim Raykowski <raykowj@gmail.com>2019-10-02 03:55:37 +0200
commitd09dc224977c498356ab76738afe03136c98fabe (patch)
treebe55dd15b0545c81cb0092f8d6c919afe0fdc587 /sc
parent489eef894e7034873ad262f9dfca554022db1b09 (diff)
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@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx7
1 files changed, 1 insertions, 6 deletions
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)