summaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r--profile-widget/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp
index d9b16690f..0d6e38588 100644
--- a/profile-widget/profilewidget2.cpp
+++ b/profile-widget/profilewidget2.cpp
@@ -600,7 +600,7 @@ void ProfileWidget2::plotDive(struct dive *d, bool force)
struct divecomputer *currentdc = select_dc(&displayed_dive);
Q_ASSERT(currentdc);
if (!currentdc || !currentdc->samples) {
- currentdc = fake_dc(currentdc);
+ currentdc = fake_dc(currentdc, false);
}
bool setpointflag = (currentdc->divemode == CCR) && prefs.pp_graphs.po2 && current_dive;