Search/Filter on toolbar applies to Charts

When the user free text searches or applies a data filter in
the top right toolbar search box it gets applied to any charts
that plot data from many rides, including;

- CP curve
- Calendar
- Histogram
- LTM
- TreeMap
- Summary

I need to update on a Mac to no longer use a Mac text search box
but now use a search filter box on the top right.
This commit is contained in:
Mark Liversedge
2013-04-05 16:23:16 +01:00
parent d656981d5e
commit 31ced60209
20 changed files with 176 additions and 48 deletions

View File

@@ -136,7 +136,8 @@ void SearchBox::updateCloseButton(const QString& text)
if (clearButton->isVisible() && text.isEmpty()) mode == Search ? clearQuery() : clearFilter();
clearButton->setVisible(!text.isEmpty());
if (mode == Search) searchSubmit(); // only do search as you type in search mode
//REMOVED SINCE TOO HEAVY NOW AFFECTS CHARTS TOO
//if (mode == Search) searchSubmit(); // only do search as you type in search mode
setGood(); // if user changing then don't stay red - wait till resubmitted
checkMenu();