summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 226580a48..a3e08d816 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -610,7 +610,7 @@ void ProfileWidget2::plotDive(struct dive *d, bool force)
instantMeanDepth->vAxis = profileYAxis;
instantMeanDepth->hAxis = timeAxis;
- instantMeanDepth->setVisible(prefs.show_average_depth);
+ instantMeanDepth->setVisible(prefs.show_average_depth && !printMode);
instantMeanDepth->setModel(dataModel);
dataModel->emitDataChanged();