Planner: Update notes when not computing variations

A change not to compute plan variations when not needed
was too aggressive and eliminated also the signal to update
the notes. Bug fixed.

Reported-by: Jay Anchor <jay.anchor-subsurface@e257.fi>
Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2021-05-07 17:52:30 +02:00 committed by Dirk Hohndel
parent 09bbd846da
commit 312b760c5b

View file

@ -1088,8 +1088,9 @@ void DivePlannerPointsModel::updateDiveProfile()
computeVariations(plan_copy, &plan_deco_state);
#endif
final_deco_state = plan_deco_state;
emit calculatedPlanNotes(QString(d->notes));
}
emit calculatedPlanNotes(QString(d->notes));
// throw away the cache
free(cache);