diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-02 15:27:27 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-02 15:28:30 -0400 |
commit | 0770e163ecf753004f73273f6caf060a02b65173 (patch) | |
tree | 0957f3cc4191871b7ff9b68e4bf7f593f55f3527 /sc | |
parent | e3250b90677fc7ae449cb3ff887ed3da35b4532f (diff) |
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
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/cctrl/checklistmenu.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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) |