aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-07 10:23:08 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-07 10:23:08 -0700
commitee77398eb8cd9a02fbe1d12190e16239b1bc8ec6 (patch)
tree350c3ed00f5c93447400411b4cefa9d884445074
parentf5d9882573d941fb931f3ba7fdffb2fd1ff7080f (diff)
downloadsubsurface-ee77398eb8cd9a02fbe1d12190e16239b1bc8ec6.tar.gz
Reload the dive list after accepting changes
So far we only did it when we added a dive or modified a manually added dive. But the reality is that an edit of any dive could cause changes that require the dive list to be reloaded. Fixes #698 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-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 d49c8844c..e8087c7cc 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -797,7 +797,7 @@ void MainTab::acceptChanges()
editMode = NONE;
MainWindow::instance()->dive_list()->rememberSelection();
sort_table(&dive_table);
- MainWindow::instance()->refreshDisplay(false);
+ MainWindow::instance()->refreshDisplay();
MainWindow::instance()->dive_list()->restoreSelection();
}
DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::NOTHING);