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>
This commit is contained in:
Tomaz Canabrava 2013-08-13 08:58:52 -03:00
parent 3464bcf6ef
commit 663ab6e23e

View file

@ -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);