Close needs to clear the Globe and the DiveNotes

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-05-19 20:46:31 -07:00
parent adc7654816
commit 1d10289796

View file

@ -122,8 +122,10 @@ void MainWindow::on_actionClose_triggered()
ui->InfoWidget->clearStats();
ui->InfoWidget->clearInfo();
ui->InfoWidget->clearEquipment();
ui->InfoWidget->updateDiveInfo(-1);
ui->ProfileWidget->clear();
ui->ListWidget->reload();
ui->globe->reload();
clear_events();
}