summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-13 08:58:52 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-13 08:58:52 -0300
commit663ab6e23eacd096bb5f64df507c1ee66404f302 (patch)
tree8ac6c20f586e58befe70e2ee2dda1ef684256378 /qt-ui/maintab.cpp
parent3464bcf6ef50a8b38c2fd91416c3d7ce932fdc7a (diff)
downloadsubsurface-663ab6e23eacd096bb5f64df507c1ee66404f302.tar.gz
Fixes showing the labels of divemaster and buddy after a trip selection
This patches fixes showing back the labels 'Dive master' and 'Buddy' after a trip selection was done, then back to single dive selection. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 4057db1cf..f2fed0921 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -234,6 +234,8 @@ void MainTab::updateDiveInfo(int dive)
ui->suit->setVisible(true);
ui->rating->setVisible(true);
ui->visibility->setVisible(true);
+ ui->BuddyLabel->setVisible(true);
+ ui->DivemasterLabel->setVisible(true);
ui->divemaster->setReadOnly(false);
ui->buddy->setReadOnly(false);
ui->suit->setReadOnly(false);