diff options
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.cpp')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index 2202b96d3..707aa2f2a 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -493,7 +493,7 @@ void MainTab::updateDiveInfo(bool clear) ui.waterTempLabel->setVisible(false); ui.watertemp->setVisible(false); ui.dateEdit->setReadOnly(true); - ui.label->setVisible(false); + ui.timeLabel->setVisible(false); ui.timeEdit->setVisible(false); ui.diveTripLocation->show(); ui.location->hide(); @@ -538,7 +538,7 @@ void MainTab::updateDiveInfo(bool clear) ui.waterTempLabel->setVisible(true); ui.watertemp->setVisible(true); ui.dateEdit->setReadOnly(false); - ui.label->setVisible(true); + ui.timeLabel->setVisible(true); ui.timeEdit->setVisible(true); /* and fill them from the dive */ ui.rating->setCurrentStars(displayed_dive.rating); |