mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
profile: don't show instantMeanDepth for printMode
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1c06252c00
commit
2b311b1c2c
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ void ProfileWidget2::plotDive(struct dive *d, bool force)
|
||||||
|
|
||||||
instantMeanDepth->vAxis = profileYAxis;
|
instantMeanDepth->vAxis = profileYAxis;
|
||||||
instantMeanDepth->hAxis = timeAxis;
|
instantMeanDepth->hAxis = timeAxis;
|
||||||
instantMeanDepth->setVisible(prefs.show_average_depth);
|
instantMeanDepth->setVisible(prefs.show_average_depth && !printMode);
|
||||||
instantMeanDepth->setModel(dataModel);
|
instantMeanDepth->setModel(dataModel);
|
||||||
|
|
||||||
dataModel->emitDataChanged();
|
dataModel->emitDataChanged();
|
||||||
|
|
Loading…
Reference in a new issue