From 0770e163ecf753004f73273f6caf060a02b65173 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 2 Nov 2012 15:27:27 -0400 Subject: Set initial focus to the check list box. This is so that when launching the autofilter popup via key stroke, the user can immediately type-ahead to find a match within the check list box. Change-Id: I8a33a52afc6005b4a7428d5f7046eff986da80d2 --- sc/source/ui/cctrl/checklistmenu.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sc/source/ui/cctrl') diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index 4a4066b8a6b7..96708d55fdc3 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -1368,6 +1368,7 @@ void ScCheckListMenuWindow::launch(const Rectangle& rRect) } StartPopupMode(aRect, (FLOATWIN_POPUPMODE_DOWN | FLOATWIN_POPUPMODE_GRABFOCUS)); + cycleFocus(); // Set initial focus to the check list box. } void ScCheckListMenuWindow::close(bool bOK) -- cgit