Only offer to show dive on map if we have location information

Linus Torvalds torvalds at linux-foundation.org
Wed Jan 16 12:31:09 PST 2013


This adds the "Show in map" menu entry to the divelist only if we
actually have a location to show.

Of course, having some way to visually see whether we have a GPS
location even before we show the menu would probably be good. Maybe a
marker in the "location" string or something. But in the meanwhile, at
least we don't have that menu entry if we have nothing to show.

Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 1618 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130116/47e77fec/attachment.obj>


More information about the subsurface mailing list