diff --git a/src/RideItem.cpp b/src/RideItem.cpp index 07d41b0f4..7501c0b2f 100644 --- a/src/RideItem.cpp +++ b/src/RideItem.cpp @@ -306,6 +306,9 @@ RideItem::newInterval(QString name, double start, double stop, double startKM, d // refresh metrics add->refresh(); + // still the item is dirty and needs to be saved + setDirty(true); + // and return return add; }