<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 19.10.2015, at 08:11, Martin Měřinský <<a href="mailto:mermar@centrum.cz" class="">mermar@centrum.cz</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi.<br class="">I have found a few minor bugs in 4.5.0 planner. I mentioned it in<br class="">"Proposal on new planner layout" thread, but was asked to send it<br class="">separately.<br class=""><br class="">Start Subsurface (no log file).<br class="">Ctrl+l (Log -> Plan dive).<br class="">I get warning "Too many gas mixes".<br class="">Warning text is there twice.<br class="">It doesn't make sense, because I have nothing in Available gases.<br class=""><br class="">Close the warning.<br class="">Hit plus button, to add gas.<br class="">I get warning "Too many gas mixes" again.<br class=""><br class="">When going to plan dive, there is automatically one dive planner point,<br class="">but no gas. I would suppose to have one gas as well.<br class=""></div></blockquote><div><br class=""></div><div>I could not reproduce that behavior. But looking at the code, there might be the case that there is a current dive but that that dive does not have any cylinder. Here is a patch that is supposed to catch that case and add a default cylinder instead. Could you please test that this patch solves this problem?</div><div><br class=""></div><div>There is a second patch that adds a recently added dependency to the INSTALL file (I could not build without it).</div><br class=""><blockquote type="cite" class=""><div class=""><br class="">Last Dive planner point cannot be removed. The trash icon is stroked<br class="">out. Last available gas (once added) cannot be removed neither, but its<br class="">icon is not stroked out. In fact, if I add multiple gases, none of them<br class="">can be deleted.<br class=""></div></blockquote></div><div class=""><br class=""></div>The planner should always have at least one gas and one waypoint. A stroked out icon for the last gas was added by recent patch.</div><div class=""><br class=""></div><div class=""></div></body></html>