Berthold Stoeger
d061a54e3d
planner: fix gas selection
...
The lambda that created the list of gases took a copy not a
reference of the planned dive. Of course, that never had its
gases updated. Ultimately this would crash, because this sent
an index of "-1" on change.
Fix by
1) Using a reference to the dive, not the copy
2) Catch an invalid "-1" index (by Michael Keller <github@ike.ch>)
Fixes #4188
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-05-12 13:23:21 +02:00
..
2019-06-19 13:11:10 -07:00
2020-04-07 00:13:35 +02:00
2022-04-18 07:24:38 +02:00
2024-04-23 07:47:11 +07:00
2022-02-15 09:35:43 -08:00
2024-05-12 13:23:21 +02:00
2023-07-25 11:19:03 +12:00
2020-10-25 13:59:52 -07:00
2020-05-07 08:46:15 -07:00
2023-04-14 21:20:23 +02:00
2023-04-14 21:20:23 +02:00
2024-03-12 10:31:07 -04:00
2020-11-07 11:37:51 -08:00
2024-01-17 14:23:19 -08:00
2020-05-06 13:58:09 -07:00
2024-05-12 13:23:21 +02:00
2024-01-27 20:55:32 -08:00
2023-04-26 07:14:07 +02:00
2019-05-06 10:48:44 +02:00
2021-10-11 20:20:20 +03:00
2020-02-08 10:29:36 -08:00
2024-04-23 07:47:11 +07:00
2023-10-13 08:32:27 +13:00
2020-09-29 16:13:03 -07:00
2020-09-29 16:13:03 -07:00
2023-04-16 20:23:59 +02:00
2023-04-16 20:23:59 +02:00
2024-03-10 11:01:42 +13:00
2020-09-29 16:13:03 -07:00
2024-03-24 17:53:19 +01:00
2020-02-04 02:16:46 +01:00
2024-03-12 10:31:07 -04:00
2018-09-29 15:23:25 -07:00
2022-02-15 09:35:43 -08:00
2022-02-15 09:35:43 -08:00
2024-04-16 08:56:49 +12:00
2024-04-16 08:56:49 +12:00
2024-04-16 08:56:49 +12:00
2024-04-16 08:56:49 +12:00
2018-09-01 07:48:43 -07:00
2018-09-29 15:23:25 -07:00
2024-04-16 08:56:49 +12:00
2020-05-15 14:19:21 -07:00
2024-04-16 08:56:49 +12:00
2024-04-16 08:56:49 +12:00
2023-04-26 07:14:07 +02:00
2018-12-17 12:18:26 +01:00