On Sun, Jun 01, 2014 at 08:01:10PM +0200, Joakim Bygdell wrote:
> Dirk, when opening the planner we read the gas list from the selected
> dive in the dive list and if it contains unused gas mixes we get the
> issue we are seeing now.  Would it not be more accurate to only populate
> the gas list with the the gas mixes that are active?
> That way we can use a dive as template for the one we are about to plan.

I was debating that when I first implemented it and went with the easy
solution. Just copy the whole structure.

Let me branch predict what will happen:
- I will change this to only copy the used dives
- XXX will send email saying "Hey, I really wanted to be able to simply
  copy all the gases I usually take, even if on the last dive I didn't use
  one of them"
- ZZZ will suggest to add an option to make it configurable

:-)

/D
_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to