mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-16 09:29:55 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user