diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-09-18 23:08:39 -0500 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-09-18 23:08:39 -0500 |
commit | 5a96389cd3039ac822482232b3102106bbe70a5a (patch) | |
tree | dad7c1789c9e26e27673ec1a44a404ded0529899 /qt-ui | |
parent | 64b014aefb2c69f20d1a15e4e011481a5f98f9da (diff) | |
download | subsurface-5a96389cd3039ac822482232b3102106bbe70a5a.tar.gz |
Fix updateDiveInfo to clear coordinates when called with invalid dive
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/maintab.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |