Refresh PMC data when Seasons change

To consider possible changes on Starting LTS
This commit is contained in:
Ale Martinez
2018-07-23 15:35:04 -03:00
parent 55ec3973c3
commit 5b4e754d0a

View File

@@ -63,6 +63,7 @@ PMCData::PMCData(Context *context, Specification spec, QString metricName, int s
connect(context, SIGNAL(rideDeleted(RideItem*)), this, SLOT(invalidate()));
connect(context, SIGNAL(refreshUpdate(QDate)), this, SLOT(invalidate()));
connect(context->athlete->rideCache, SIGNAL(itemChanged(RideItem*)), this, SLOT(invalidate()));
connect(context->athlete->seasons, SIGNAL(seasonsChanged()), this, SLOT(invalidate()));
}
PMCData::PMCData(Context *context, Specification spec, Leaf *expr, DataFilterRuntime *df, int stsDays, int ltsDays)