diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-07-02 14:15:17 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-03 09:37:55 -0700 |
commit | 56501dda1e56f32be98bf4dc475411c56dd223da (patch) | |
tree | ccb89bd749fb284b8ebc47f3df251f330285ce99 /qt-ui/mainwindow.cpp | |
parent | ce47683de82b3eb0f6e41d3cb5f2b6f035d98afa (diff) | |
download | subsurface-56501dda1e56f32be98bf4dc475411c56dd223da.tar.gz |
UI restructure: updateDiveInfo displays displayed_dive
Instead of passing in a divenr of -1 to make it clear things this changes
things to use an options "clear" flag.
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, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 219d14803..04f94671b 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -217,7 +217,7 @@ void MainWindow::cleanUpEmpty() ui.InfoWidget->clearStats(); ui.InfoWidget->clearInfo(); ui.InfoWidget->clearEquipment(); - ui.InfoWidget->updateDiveInfo(-1); + ui.InfoWidget->updateDiveInfo(true); ui.newProfile->setEmptyState(); ui.ListWidget->reload(DiveTripModel::TREE); ui.globe->reload(); |