Make the dive mode change effective

Robert Helling helling at atdotde.de
Fri Jan 30 02:21:53 PST 2015


This patch fixes the problem that when the user tried to change the dive mode of a dive via the combo box, it jumped back as soon as apply was pressed (and the change was never reflected in the profile). This came about as replot copied current_dive over displayed dive before replotting so the change in dive mode was overwritten.

This patch just updates the ceiling rather than asking for a full replot.



Best
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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150130/764654ca/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Update-ceiling-when-changing-dive-mode.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150130/764654ca/attachment.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150130/764654ca/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150130/764654ca/attachment.sig>


More information about the subsurface mailing list