eianlei / pydplan

Scuba Dive planner using Buhlmann algorithm, Python with PyQt5 GUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom mode: change deco stop depth to recalculate, check depths are in order

eianlei opened this issue · comments

Currently in Custom mode, only when you change values of the deco stop time spinbox widgets is the recalculation called automatically -> drawNewProfile(). But the depth widgets are not connected yet. Their value are read though.
When connecting the depths, we should check that user keeps the stop depths in order, so it must be prevented to change values so that they do not cross above and below stop depths.

At the same go, remove the gas labels printed to the deco stops, this was a bad idea.