Restore autofilling coordinates for added dives

Gaetan Bisson bisson at archlinux.org
Wed Jul 9 09:35:27 PDT 2014


[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?

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

Cheers.

-- 
Gaetan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Complete-GPS-coordinates-on-location-focusout.patch
Type: text/x-diff
Size: 5438 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140709/9f83dba5/attachment-0001.patch>


More information about the subsurface mailing list