mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f5d9882573
commit
ee77398eb8
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ void MainTab::acceptChanges()
|
||||||
editMode = NONE;
|
editMode = NONE;
|
||||||
MainWindow::instance()->dive_list()->rememberSelection();
|
MainWindow::instance()->dive_list()->rememberSelection();
|
||||||
sort_table(&dive_table);
|
sort_table(&dive_table);
|
||||||
MainWindow::instance()->refreshDisplay(false);
|
MainWindow::instance()->refreshDisplay();
|
||||||
MainWindow::instance()->dive_list()->restoreSelection();
|
MainWindow::instance()->dive_list()->restoreSelection();
|
||||||
}
|
}
|
||||||
DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::NOTHING);
|
DivePlannerPointsModel::instance()->setPlanMode(DivePlannerPointsModel::NOTHING);
|
||||||
|
|
Loading…
Add table
Reference in a new issue