Fix updateDiveInfo to clear coordinates when called with invalid dive
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
64b014aefb
commit
5a96389cd3
@ -306,6 +306,7 @@ void MainTab::updateDiveInfo(int dive)
|
||||
} else {
|
||||
/* clear the fields */
|
||||
ui->rating->setCurrentStars(0);
|
||||
ui->coordinates->clear();
|
||||
ui->sacText->clear();
|
||||
ui->otuText->clear();
|
||||
ui->oxygenHeliumText->clear();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user