Remove unused structure member

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Planner: don't do unnecessary work on empty dive plans

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Planner: remove check for empty diveplan

This was introduced in commit fc1336107930 ("Don't crash if we try to save
a empty plan") - but it doesn't seem to make any sense. It is perfectly
reasonable for the diveplan to have no datapoints at this spot - we are
just about to call createTemporaryPlan() which will fill those datapoints
from the mode.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Planner: don't recreate the dive while cleaning up the widgets

Otherwise the change to the Cylinder widget would trigger a recreation of
the dive in an inconsistent state.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Allow editing segment duration. This shifts all following waypoints.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Merge branch 'latest'