problem with auto-group trips when downloading dives
dirk at hohndel.org
Thu Jun 27 21:22:14 PDT 2019
It seems more complicated.
If I download a new dive from one of my dive computers (Garmin Descent) it creates a new trip for it.
If I then download the same dive from a second dive computer (Shearwater Teric) it doesn't merge it with the existing dive, but instead adds it to the correct trip as a separate dive.
On June 28, 2019 1:00:44 PM GMT+09:00, Dirk Hohndel <dirk at hohndel.org> wrote:
>Every time I download a new dive from my dive computer, Subsurface
>creates a new trip for the downloaded dive instead of adding the dive
>to the existing dive trip.
>Reading the code I can see that we have two very different paths for
>DiveListBase::addDive() which is called when importing from a dive
>computer - which doesn't even try to match the dive to an existing trip
>AddDive::addDive() which appears to do the right thing, but creates an
>undo event per dive that's added (which isn't what we want for the
>Berthold, I tried to figure out how to make DiveListBase::addDive() do
>the right thing, but I think it would be easier if you took a look. My
>attempts didn't look right :-)
>(and didn't work).
>subsurface mailing list
>subsurface at subsurface-divelog.org
From my phone
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the subsurface