Fix updateDiveInfo to clear coordinates when called with invalid dive

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-09-18 23:08:39 -05:00
parent 64b014aefb
commit 5a96389cd3

View file

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