mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
Fix SEGV on delete ride in AllPlot hover
.. tries to traverse the ride data after its been deleted.
This commit is contained in:
@@ -369,6 +369,7 @@ struct FitFileReaderState
|
||||
default: ; // ignore it
|
||||
}
|
||||
}
|
||||
qDebug()<<"lap"<<interval<<"has time="<<time<<"and start"<<this_start_time;
|
||||
if (this_start_time == 0 || this_start_time-start_time < 0) {
|
||||
//errors << QString("lap %1 has invalid start time").arg(interval);
|
||||
this_start_time = start_time; // time was corrected after lap start
|
||||
|
||||
Reference in New Issue
Block a user