diff options
-rw-r--r-- | qt-ui/maintab.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index ede3cb5ef..50f7ba58c 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -524,6 +524,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(); @@ -563,6 +565,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); |