From 2b311b1c2cb440deb9434a19b5e2b1ce37c8554c Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Wed, 7 Jan 2015 21:48:17 +0200 Subject: profile: don't show instantMeanDepth for printMode Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/profile/profilewidget2.cpp') 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(); -- cgit v1.2.3-70-g09d2