mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue