From 5a96389cd3039ac822482232b3102106bbe70a5a Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 18 Sep 2013 23:08:39 -0500 Subject: Fix updateDiveInfo to clear coordinates when called with invalid dive Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/maintab.cpp') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 18702e7ce..a0fcdf744 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -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(); -- cgit v1.2.3-70-g09d2