R compare date range signals

.. refresh when compare state changes
This commit is contained in:
Mark Liversedge
2016-05-02 11:23:23 +01:00
parent ab5354e008
commit 457b3e70d0

View File

@@ -320,6 +320,10 @@ RChart::RChart(Context *context, bool ridesummary) : GcChartWindow(context), con
} else {
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 {