diff options
-rw-r--r-- | desktop-widgets/maintab.cpp | 4 |
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); |