diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-19 20:46:31 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-19 20:47:10 -0700 |
commit | 1d102897966709bd70542f54a18fba9c8b1b2537 (patch) | |
tree | 7b16b929fd98545314550df24a34160b21b5c37f /qt-ui/mainwindow.cpp | |
parent | adc76548165feeb28571fecd3a3d24dc674580db (diff) | |
download | subsurface-1d102897966709bd70542f54a18fba9c8b1b2537.tar.gz |
Close needs to clear the Globe and the DiveNotes
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 32b909a6e..d7320ceeb 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -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(); } |