[PULL REQUEST] Delete multiple dives

Lubomir I. Ivanov neolit123 at gmail.com
Sun Sep 23 06:44:23 PDT 2012


On 23 September 2012 08:20, Dirk Hohndel <dirk at hohndel.org> wrote:
> Not bad, but doesn't quite get it right, yet.
>
> Think about the case where deleting dives changes the starting point of
> a trip... it's important that at any point of time the dive_trip->when
> == dive->when for the first (chronoligically) dive in a trip. So if you
> delete the first trip you always need to update that start time of the
> dive trip.
>

hopefully this solves the issue:

------------------
The following changes since commit c4c636fb4ffa942f282d57556a579de311b96c43:

  Fix missing save of (almost empty) cylinder information (2012-09-21
21:01:42 -0700)

are available in the git repository at:

  git at github.com:neolit123/subsurface.git delmulti

for you to fetch changes up to 2e769a9ae2890d1aebe6013076e3414ac1ab9fbf:

  Update the trip's "when" flag after deleting a dive from that trip
(2012-09-23 16:28:23 +0300)

----------------------------------------------------------------
Lubomir I. Ivanov (3):
      Added different delete label when right clicking multiple drives
      Added the functionality to delete selected (multiple) dives
      Update the trip's "when" flag after deleting a dive from that trip

 divelist.c | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 71 insertions(+), 14 deletions(-)

----------------

lubomir
--


More information about the subsurface mailing list