summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/maintab.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index c0fdeca6e..19b47c872 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -505,7 +505,9 @@ void MainTab::updateDiveInfo(int dive)
ui.salinityText->clear();
ui.depthLimits->setMaximum(get_depth_string(stats_selection.max_depth, true));
ui.depthLimits->setMinimum(get_depth_string(stats_selection.min_depth, true));
- ui.depthLimits->setAverage(get_depth_string(stats_selection.avg_depth, true));
+ // the overall average depth is really confusing when listed between the
+ // deepest and shallowest dive - let's just not set it
+ // ui.depthLimits->setAverage(get_depth_string(stats_selection.avg_depth, true));
ui.depthLimits->overrideMaxToolTipText(QObject::tr("Deepest Dive"));
ui.depthLimits->overrideMinToolTipText(QObject::tr("Shallowest Dive"));
ui.sacLimits->setMaximum(get_volume_string(stats_selection.max_sac, true).append(tr("/min")));