aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-02 12:58:41 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-03 09:37:55 -0700
commit635a7ab77171e9789f13accfa5904afe27460f70 (patch)
tree804c5d34b3a446f6b2b5d672b10fe6355c188607 /qt-ui/maintab.cpp
parent2a55e55868870731258fe2230321ed23bc0cbaed (diff)
downloadsubsurface-635a7ab77171e9789f13accfa5904afe27460f70.tar.gz
UI restructure: updateDiveInfo shows the selected dive by default
So don't be redundant. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 2cc994a1c..d461de5a2 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -879,7 +879,7 @@ void MainTab::rejectChanges()
MainWindow::instance()->globe()->reload();
if (lastMode == MANUALLY_ADDED_DIVE) {
// more clean up
- updateDiveInfo(selected_dive);
+ updateDiveInfo();
MainWindow::instance()->showProfile();
// we already reloaded the divelist above, so don't recreate it or we'll lose the selection
MainWindow::instance()->refreshDisplay(false);