subsurface/profile-widget
Jan Mulder b4d37e8eeb profile: fix garbled profiles after visiting the planner
See mentioned GitHub issue for the full issue, and images.

The reason for this weird behavior is the existence of 2 flags in
the profile code: shouldCalculateMaxTime and shouldCalculateMaxDepth.
When exactly following the use case and test data as attached to
the GitHub issue (a very short dive, shorter than most of the
dives in the logbook), the shouldCalculateMaxTime flag never got
back to its true status, causing the the time scale not to adapt
to other dives when just clicking (or selecting) them from the dive
list.

The problem is fixed here by also setting the shouldCalculateMaxTime
flag on manipulating wayppoints in the dive plan.

Fixes: #1039

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2018-01-12 10:26:05 -08:00
..
animationfunctions.cpp
animationfunctions.h
CMakeLists.txt
divecartesianaxis.cpp Typo: indice -> index 2018-01-10 21:25:02 +01:00
divecartesianaxis.h Typo: indice -> index 2018-01-10 21:25:02 +01:00
diveeventitem.cpp Introduce helper function empty_string() 2018-01-11 06:07:13 +01:00
diveeventitem.h
divelineitem.cpp
divelineitem.h
divepixmapitem.cpp Pictures tied to profile are not supported on mobile 2018-01-10 21:28:02 +01:00
divepixmapitem.h Pictures tied to profile are not supported on mobile 2018-01-10 21:28:02 +01:00
diveprofileitem.cpp Typo: Threshould -> Threshold 2018-01-10 21:25:02 +01:00
diveprofileitem.h Typo: Threshould -> Threshold 2018-01-10 21:25:02 +01:00
diverectitem.cpp
diverectitem.h
divetextitem.cpp
divetextitem.h
divetooltipitem.cpp
divetooltipitem.h code cleanup: remove unimplemented classes and structs 2017-06-16 05:31:41 +09:00
profilewidget2.cpp profile: fix garbled profiles after visiting the planner 2018-01-12 10:26:05 -08:00
profilewidget2.h Pictures tied to profile are not supported on mobile 2018-01-10 21:28:02 +01:00
ruleritem.cpp
ruleritem.h
tankitem.cpp cleanup: Uninitialized pointer field 2017-12-29 09:14:20 -08:00
tankitem.h cleanup: Uninitialized pointer field 2017-12-29 09:14:20 -08:00