mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
R compare date range signals
.. refresh when compare state changes
This commit is contained in:
@@ -320,6 +320,10 @@ RChart::RChart(Context *context, bool ridesummary) : GcChartWindow(context), con
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
connect(this, SIGNAL(dateRangeChanged(DateRange)), this, SLOT(runScript()));
|
connect(this, SIGNAL(dateRangeChanged(DateRange)), this, SLOT(runScript()));
|
||||||
|
|
||||||
|
// refresh when comparing
|
||||||
|
connect(context, SIGNAL(compareDateRangesStateChanged(bool)), this, SLOT(runScript()));
|
||||||
|
connect(context, SIGNAL(compareDateRangesChanged()), this, SLOT(runScript()));
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user