From ee77398eb8cd9a02fbe1d12190e16239b1bc8ec6 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 7 Aug 2014 10:23:08 -0700 Subject: 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 --- qt-ui/maintab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') 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); -- cgit v1.2.3-70-g09d2