summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-20 07:33:05 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-20 07:33:05 -0800
commit5fc16910c26a8944a41840360e232bdf3c2468a7 (patch)
tree06c1d0efdf8f454bb6f16b97078077a279b6f98c /profile-widget
parent97d6a1e779c91c434e00086c90e0e8b3fcf540dc (diff)
downloadsubsurface-5fc16910c26a8944a41840360e232bdf3c2468a7.tar.gz
QML UI: fix recreation of profile after dive edit
We only need to deal with this if the dive changed. And in that case, if we calculate a new fake DC, we need to clear out the meandepth as otherwise the algorithm will try to match both max and mean depth. Since the user potentially changed the max depth that could have very odd consequences. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget')
0 files changed, 0 insertions, 0 deletions