summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2016-01-17 12:53:51 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-17 10:45:40 -0800
commitb9000208fe72832d85cbb0ffea34d13ef94034cd (patch)
tree32c2e075d5c97df79aa8cbf23050f2dd889f8e97 /desktop-widgets
parent394ddba013f159829283b58eecbeb0b905077ced (diff)
downloadsubsurface-b9000208fe72832d85cbb0ffea34d13ef94034cd.tar.gz
Hide the time from trip tab
This hides the start time when viewing trip details. See #964 Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/maintab.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop-widgets/maintab.cpp b/desktop-widgets/maintab.cpp
index 197e5e7c4..3c9518247 100644
--- a/desktop-widgets/maintab.cpp
+++ b/desktop-widgets/maintab.cpp
@@ -520,6 +520,8 @@ void MainTab::updateDiveInfo(bool clear)
ui.waterTempLabel->setVisible(false);
ui.watertemp->setVisible(false);
ui.dateEdit->setReadOnly(true);
+ ui.label->setVisible(false);
+ ui.timeEdit->setVisible(false);
ui.diveTripLocation->show();
ui.location->hide();
ui.editDiveSiteButton->hide();
@@ -559,6 +561,8 @@ void MainTab::updateDiveInfo(bool clear)
ui.waterTempLabel->setVisible(true);
ui.watertemp->setVisible(true);
ui.dateEdit->setReadOnly(false);
+ ui.label->setVisible(true);
+ ui.timeEdit->setVisible(true);
/* and fill them from the dive */
ui.rating->setCurrentStars(displayed_dive.rating);
ui.visibility->setCurrentStars(displayed_dive.visibility);