displayed_dive vs. current_dive
Robert Helling
helling at lmu.de
Fri Apr 26 02:42:00 PDT 2019
Hi,
I have a question: What is the difference between
displayed_dive and current_dive
Recently, there have been some PRs in particular from bstoeger that say something along the lines of "Use current_dive instead of displayed_dive in TabDiveInformation”.
I have to admit that I never really understood the distinction. By only heuristic was that in the planner, current_dive tends to be undefined and thus I always used displayed_dive.
Maybe somebody could explain when to use which and maybe this could also go as a comment into the source.
Thanks
Robert
--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling Elite Master Course Theoretical and Mathematical Physics
Scientific Coordinator
Ludwig Maximilians Universitaet Muenchen, Dept. Physik
Phone: +49 89 2180-4523 Theresienstr. 39, rm. B339
http://www.atdotde.de
Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515 BB44 0820 367C 36BC 0C1D and
DCED 37B6 251C 7861 270D 5613 95C7 9D32 9A8D 9B8F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20190426/268735cf/attachment.sig>
More information about the subsurface
mailing list