mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Planner: populate gaslist for initial simple dive
Call GasSelectionModel::instance()->repopulate() when creating the initial simple dive. Without this call, the gas selection dropdown list does not work in the DivePLannerPointsModel table until the cylinders table has been edited. Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
02389c95cb
commit
f2bbd0c627
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ void DivePlannerPointsModel::createSimpleDive()
|
|||
addStop(M_OR_FT(5, 15), 45 * 60, 0, cylinderid, true);
|
||||
}
|
||||
updateMaxDepth();
|
||||
GasSelectionModel::instance()->repopulate();
|
||||
}
|
||||
|
||||
void DivePlannerPointsModel::setupStartTime()
|
||||
|
|
Loading…
Add table
Reference in a new issue