summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-02 15:21:41 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-02 15:28:30 -0400
commite3250b90677fc7ae449cb3ff887ed3da35b4532f (patch)
tree6116b8f9e6ad5bb6dc1ba9f691115641b1595eda
parent94fdd16062ca6fae8e18352ae0a7547e6b65fd61 (diff)
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
-rw-r--r--sc/source/ui/cctrl/checklistmenu.cxx3
1 files changed, 3 insertions, 0 deletions
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()