summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--profile-widget/diveprofileitem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/profile-widget/diveprofileitem.cpp b/profile-widget/diveprofileitem.cpp
index 4c3db45f3..983c8a54f 100644
--- a/profile-widget/diveprofileitem.cpp
+++ b/profile-widget/diveprofileitem.cpp
@@ -624,6 +624,7 @@ DiveMeanDepthItem::DiveMeanDepthItem()
pen.setCosmetic(true);
pen.setWidth(2);
setPen(pen);
+ lastRunningSum = 0.0;
settingsChanged();
}