Berthold Stoeger
487974ea91
selection: avoid select_dive() and deselect_dive calls in dive list
...
Each of these calls recalculates the current dive and divecomputer.
Instead, collect the dives to be selected/deselected and (de)select
them at once.
This needs some code refactoring in the core, because we need a
function that
1) doesn't send a signal by itself.
2) doesn't clear the trip-selection.
This contains some reorganization of the selection functions
signatures: The filter code is the only caller that keeps the
selected dive and the only caller that cares about whether the
current dive changed. So let only the function that keeps the
selected dive return whether the current dive changed.
It's all very fragile.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2023-04-16 20:23:59 +02:00
..
2022-08-21 18:53:35 -07:00
2022-11-19 15:07:07 -08:00
2023-04-16 20:23:59 +02:00
2022-03-12 08:28:32 -08:00
2020-10-26 19:27:03 -07:00
2017-11-30 23:14:46 -08:00
2020-09-29 16:13:03 -07:00
2022-03-12 08:28:32 -08:00
2020-12-17 13:03:56 -08:00
2019-02-14 09:05:58 -08:00
2022-11-19 15:03:30 -08:00
2023-04-14 21:20:23 +02:00
2020-10-06 10:38:45 -07:00
2023-03-18 00:11:08 +13:00
2022-02-15 09:35:43 -08:00
2023-04-16 20:23:59 +02:00
2022-08-28 13:34:13 -07:00
2022-03-12 08:28:32 -08:00
2019-12-03 21:30:39 -08:00
2020-04-18 12:08:48 -07:00
2023-04-14 21:20:23 +02:00
2020-10-23 18:17:02 -07:00
2017-11-30 23:14:46 -08:00
2020-12-03 10:32:20 -08:00
2020-05-06 13:58:09 -07:00
2023-04-16 20:23:59 +02:00
2020-12-12 15:52:40 -08:00
2018-03-02 08:38:22 -08:00
2022-03-12 08:28:32 -08:00
2019-12-11 11:08:51 -05:00
2022-03-12 08:28:32 -08:00
2022-03-13 15:07:33 -07:00
2019-05-06 10:48:44 +02:00
2019-05-06 10:48:44 +02:00
2023-04-14 21:20:23 +02:00
2022-09-23 15:50:49 +02:00
2022-09-23 15:50:49 +02:00
2023-04-14 21:20:23 +02:00
2022-03-12 08:28:32 -08:00
2018-09-23 11:49:30 -07:00
2022-02-15 09:30:43 -08:00
2020-09-29 16:13:03 -07:00
2021-02-17 07:26:55 -08:00
2020-09-29 16:14:31 -07:00
2020-09-29 16:14:31 -07:00
2020-04-10 10:53:03 -07:00
2018-07-04 02:27:36 +08:00
2018-07-15 09:38:12 -07:00
2022-03-12 08:28:32 -08:00
2018-09-29 15:23:25 -07:00
2020-05-01 09:42:31 -07:00
2020-01-24 09:51:02 -08:00
2020-03-19 08:37:59 -07:00
2022-03-12 08:28:32 -08:00
2018-09-29 15:23:25 -07:00
2018-12-14 01:05:18 +08:00
2023-04-16 20:23:59 +02:00
2022-08-22 09:20:45 -07:00
2020-01-24 09:51:02 -08:00
2023-04-16 20:23:59 +02:00
2023-04-14 21:20:23 +02:00
2022-09-23 15:50:49 +02:00
2023-04-16 20:23:59 +02:00
2020-02-04 02:16:46 +01:00
2023-04-16 20:23:59 +02:00
2022-09-03 13:38:34 -07:00
2022-03-12 08:28:32 -08:00
2022-03-12 08:28:32 -08:00
2017-02-24 01:06:09 -08:00
2019-10-31 00:30:38 -07:00
2023-03-28 21:08:37 -07:00
2021-02-17 07:26:55 -08:00
2021-12-17 11:54:23 -08:00
2021-12-17 11:54:23 -08:00
2023-03-28 21:08:37 -07:00
2023-03-28 21:08:37 -07:00
2023-03-28 21:08:37 -07:00
2023-04-16 20:23:59 +02:00
2022-03-12 18:33:34 +01:00
2021-12-17 11:54:23 -08:00
2022-03-12 08:28:32 -08:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2017-11-30 23:14:46 -08:00
2021-09-22 09:09:12 -07:00
2022-03-12 08:28:32 -08:00
2023-01-18 15:42:47 -08:00
2023-01-18 15:42:47 -08:00
2020-10-26 19:27:03 -07:00
2020-10-26 19:27:03 -07:00
2022-03-12 08:28:32 -08:00
2022-03-12 08:28:32 -08:00
2022-01-04 11:14:24 -08:00
2023-04-14 21:20:23 +02:00
2022-04-18 07:24:39 +02:00
2020-11-07 11:37:51 -08:00
2019-12-05 10:14:25 -08:00
2022-08-13 11:19:37 -07:00
2022-08-13 11:19:37 -07:00
2021-02-17 07:26:55 -08:00
2020-12-17 13:03:56 -08:00
2017-03-12 09:19:03 -07:00
2022-09-03 13:49:02 -07:00
2021-02-17 07:26:55 -08:00
2019-04-12 18:19:07 +03:00
2019-04-12 18:19:07 +03:00
2023-04-14 21:20:23 +02:00
2020-10-03 10:01:13 -07:00
2020-10-03 10:01:13 -07:00
2021-01-06 10:18:23 -08:00
2017-04-29 13:32:55 -07:00
2022-04-01 08:28:05 -07:00
2020-10-26 19:27:03 -07:00
2019-03-20 08:45:02 -07:00
2017-11-30 23:14:46 -08:00