mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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>
This commit is contained in:
parent
394ddba013
commit
b9000208fe
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue