diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-01-07 21:48:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-07 12:29:59 -0800 |
commit | 2b311b1c2cb440deb9434a19b5e2b1ce37c8554c (patch) | |
tree | a1d0ac60386f81c687932f166951118a2aac6e42 /qt-ui/profile/profilewidget2.cpp | |
parent | 1c06252c00e44a4f877da4441761932a28a6c3b8 (diff) | |
download | subsurface-2b311b1c2cb440deb9434a19b5e2b1ce37c8554c.tar.gz |
profile: don't show instantMeanDepth for printMode
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 2 |
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(); |