AnalysisSidebar: Reinstate interval DRAG/DROP in list 2

- Apply change to RideFile
This commit is contained in:
grauser
2015-05-22 08:14:45 +02:00
parent 9679c48cae
commit 53bf19ebc6
3 changed files with 15 additions and 4 deletions

View File

@@ -370,6 +370,12 @@ RideFile::removeInterval(RideFileInterval*x)
}
}
void
RideFile::moveInterval(int from, int to)
{
intervals_.move(from, to);
}
struct ComparePointKm {
bool operator()(const RideFilePoint *p1, const RideFilePoint *p2) {
return p1->km < p2->km;