summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/gridwin2.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-04 22:36:32 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-04 22:40:30 -0400
commit5f059974b7778904c4bffa169e07e1d0aee90951 (patch)
treedd1863cd39fbb8d1a850be11622622ebbd57b2b9 /sc/source/ui/view/gridwin2.cxx
parenta1675f6d7691d57df1c80537e1be257172aa9d49 (diff)
Temporarily disabling the new autofilter popup due to a set-back.
Ugh! I need to refactor the query validation code first before working on the new popup. I will 1) temporarily disable the new autofilter popup, 2) merge my changes so far to master, and 3) work on refactoring the query validation code without changing the current functionality, then come back to working on the new popup. Darn...
Diffstat (limited to 'sc/source/ui/view/gridwin2.cxx')
-rw-r--r--sc/source/ui/view/gridwin2.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx
index 2688e046a95b..a3ecaaea5496 100644
--- a/sc/source/ui/view/gridwin2.cxx
+++ b/sc/source/ui/view/gridwin2.cxx
@@ -165,7 +165,11 @@ bool ScGridWindow::DoAutoFilterButton( SCCOL nCol, SCROW nRow, const MouseEvent&
HideCursor();
mpFilterButton->draw();
ShowCursor();
+#if USE_NEW_AUTOFILTER
LaunchAutoFilterMenu(nCol, nRow);
+#else
+ LaunchDataSelectMenu(nCol, nRow, false);
+#endif
return true;
}