mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 00:28:42 +00:00
RideCache refresh on addRide
.. but only refreshes the ride added rather than looking everywhere. So, when we are importing large numbers of activities it won't repeatedly run a full refresh (which was bonkers).
This commit is contained in:
@@ -121,7 +121,7 @@ RideCache::addRide(QString name, bool dosignal)
|
||||
qSort(rides_); // sort by date
|
||||
|
||||
// refresh metrics for *this ride only*
|
||||
// XXX not implemented yet XXX
|
||||
last->refresh();
|
||||
|
||||
if (dosignal) context->notifyRideAdded(last); // here so emitted BEFORE rideSelected is emitted!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user