Restore autofilling coordinates for added dives

Dirk Hohndel dirk at hohndel.org
Wed Jul 9 09:42:50 PDT 2014


On Wed, Jul 09, 2014 at 06:35:27AM -1000, Gaetan Bisson wrote:
> [2014-07-09 08:39:58 -0700] Dirk Hohndel:
> > While this is one possible way to do this, it violates our design logic.
> > Now people can disagree with that logic, but here is how things are
> > suppsoed to work:
> > 
> > if you edit multiple dives, one of them is displayed (the current_dive).
> > When you change a value on that dive, it is modified in all selected dives
> > that previously had the same value.
> 
> Okay. How about this patch, then?

I like this better (well, after I merged it and made it apply :-) )

> It only modifies GPS coordinates when both mydive->location and
> mydive->coordinates have the same value as for the current_dive.

I'll take this and we can argue about the semantics a bit more :-)

/D


More information about the subsurface mailing list