From e3250b90677fc7ae449cb3ff887ed3da35b4532f Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Fri, 2 Nov 2012 15:21:41 -0400 Subject: Enable "type-ahead" search in the check list box in the autofilter popup. Many people have asked me for this. This is also enabled in the pivot table field popup (since the two basically share the same code). Change-Id: I99255839353d62c0760dd4f3a66cc7e9924ce1c3 --- sc/source/ui/cctrl/checklistmenu.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index 7d30e026c0e5..4a4066b8a6b7 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -914,6 +914,9 @@ ScCheckListMenuWindow::ScCheckListMenuWindow(Window* pParent, ScDocument* pDoc) maTabStopCtrls.push_back(&maBtnUnselectSingle); maTabStopCtrls.push_back(&maBtnOk); maTabStopCtrls.push_back(&maBtnCancel); + + // Enable type-ahead search in the check list box. + maChecks.SetStyle(maChecks.GetStyle() | WB_QUICK_SEARCH); } ScCheckListMenuWindow::~ScCheckListMenuWindow() -- cgit v1.2.3