diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-11-12 14:41:29 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-12 14:41:29 +0900 |
commit | 662b1061f0e6a83ce25b4a187bf7fa3b2efd59e1 (patch) | |
tree | 2947609a8aa9fe0058f4d7fd170e5d0c95673144 /qt-ui/mainwindow.cpp | |
parent | a683a217b9cbc402a7db0eb77071d1d8151c03cf (diff) | |
download | subsurface-662b1061f0e6a83ce25b4a187bf7fa3b2efd59e1.tar.gz |
Handle add dive cancel correctly
This should leave the program in a consistent state after add dive was
cancelled (and do the right thing in case the dive list was empty).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index a0bbcf04b..be539620b 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -68,6 +68,7 @@ MainWindow::MainWindow() : helpView(0) void MainWindow::refreshDisplay() { ui.InfoWidget->reload(); + ui.ProfileWidget->refresh(); ui.globe->reload(); ui.ListWidget->reload(DiveTripModel::CURRENT); ui.ListWidget->setFocus(); |