mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
When adding / planning a dive, reset the dive site manage screen
Otherwise old data is still shown if the user clicks manage. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b60b4ef69d
commit
e32459d313
1 changed files with 1 additions and 0 deletions
|
@ -552,6 +552,7 @@ void MainWindow::setupForAddAndPlan(const char *model)
|
|||
// setup the dive cylinders
|
||||
DivePlannerPointsModel::instance()->clear();
|
||||
DivePlannerPointsModel::instance()->setupCylinders();
|
||||
locationInformationWidget()->setLocationId(0);
|
||||
}
|
||||
|
||||
void MainWindow::on_actionReplanDive_triggered()
|
||||
|
|
Loading…
Reference in a new issue