Berthold Stoeger
a45c5faa8c
Filter: update current dive if change hides current dive
...
When changing the filter-criterion and the current dive is
hidden, a new dive is made current. However, when a dive is
hidden because it was edited, it is still shown.
Make this consistent by also selecing a new current dive
in the latter case. Do this by comparing the current_dive
before and after calculating the filter. Since this is now
done in multiple places move this code to the ShownChange
class.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-02-22 15:18:31 -08:00
..
2019-06-19 13:11:10 -07:00
2019-04-12 18:19:07 +03:00
2020-02-08 10:29:36 -08:00
2020-01-10 02:37:03 +09:00
2017-04-29 13:32:55 -07:00
2020-02-11 20:37:09 -08:00
2020-02-11 20:37:09 -08:00
2018-05-21 12:48:04 -07:00
2018-09-29 15:23:25 -07:00
2018-06-17 06:53:13 +09:00
2018-09-29 15:23:25 -07:00
2020-01-10 02:37:03 +09:00
2019-10-02 08:04:49 -07:00
2020-02-04 16:24:29 +01:00
2020-02-04 02:16:46 +01:00
2020-02-04 02:18:58 +01:00
2019-12-05 10:14:25 -08:00
2019-04-16 20:38:19 +02:00
2019-04-16 20:38:19 +02:00
2020-02-11 20:37:09 -08:00
2020-02-11 20:37:09 -08:00
2019-11-16 08:29:53 -08:00
2019-11-09 19:19:04 +01:00
2019-05-06 10:48:44 +02:00
2019-05-06 10:48:44 +02:00
2020-02-08 10:29:36 -08:00
2020-02-08 10:29:36 -08:00
2020-02-22 15:18:31 -08:00
2020-02-22 15:18:31 -08:00
2020-02-22 15:18:31 -08:00
2019-12-10 18:45:30 -08:00
2019-10-04 09:19:10 -07:00
2019-10-04 09:19:10 -07:00
2019-11-19 21:13:40 -08:00
2020-02-04 02:16:46 +01:00
2018-05-21 12:48:04 -07:00
2018-09-29 15:23:25 -07:00
2019-11-09 19:19:04 +01:00
2019-07-18 05:42:55 -07:00
2019-04-29 13:06:39 -07:00
2019-04-29 13:06:39 -07:00
2018-09-01 07:48:43 -07:00
2018-09-29 15:23:25 -07:00
2020-02-04 02:16:46 +01:00
2019-12-05 10:14:25 -08:00
2019-04-29 13:06:39 -07:00
2019-04-29 13:06:39 -07:00
2019-11-09 19:19:04 +01:00
2018-12-17 12:18:26 +01:00