mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix dive mode drop-down in planner for re-planned dive
Also populate the DiveTypeSelectionModel with values for re-planned dive. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
daab13eba9
commit
c6db1b12f8
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ void DivePlannerPointsModel::loadFromDive(dive *d)
|
|||
if (!hasMarkedSamples && !dc->last_manual_time.seconds)
|
||||
addStop(0, d->dc.duration.seconds,cylinderid, last_sp.mbar, true, current_divemode);
|
||||
recalc = oldRec;
|
||||
DiveTypeSelectionModel::instance()->repopulate();
|
||||
emitDataChanged();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue