Berthold Stoeger
3cdc2661d2
Dive media: add media to closest dive
...
Currently, when selecting "Load media files even if time does not
match the dive time", the media are added to *all* selected dives.
Instead add it to the closest dive.
This seems like the less surprising behavior. Of course now if the
user really wants to add a media file to multiple dives, they will
have to do it manually.
To avoid a messy interface, this is solved by moving the iterate-
over-selected-dives loop to the core. Thus, a helper-function can
be made local to its translation unit.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-12-13 08:11:22 +01:00
..
2018-07-12 17:12:56 +02:00
2018-10-12 08:22:44 -07:00
2018-08-23 10:17:12 -07:00
2018-07-26 16:32:51 +03:00
2018-09-23 11:50:53 -07:00
2018-07-26 16:32:51 +03:00
2018-07-26 16:32:51 +03:00
2018-07-26 16:32:51 +03:00
2018-10-12 08:22:44 -07:00
2018-10-12 08:22:44 -07:00
2018-10-06 19:47:06 -07:00
2018-07-26 16:32:51 +03:00
2018-09-28 15:06:00 -07:00
2018-07-26 16:32:51 +03:00
2018-09-11 17:25:00 -07:00
2018-08-31 06:33:46 -07:00
2018-12-13 08:11:22 +01:00
2018-07-26 16:32:51 +03:00
2018-10-30 15:33:43 +01:00
2018-10-30 15:33:43 +01:00
2018-08-23 10:17:12 -07:00
2018-07-26 16:32:51 +03:00
2018-09-11 17:22:58 -07:00
2018-09-11 17:22:58 -07:00
2018-10-09 10:03:21 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-10-15 19:46:18 +02:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-10-06 19:47:06 -07:00
2018-07-26 16:32:51 +03:00
2018-04-09 07:59:51 -07:00
2018-04-09 07:59:51 -07:00
2018-07-26 16:32:51 +03:00
2018-07-26 16:32:51 +03:00
2018-09-11 17:25:00 -07:00
2018-09-11 18:00:44 -07:00
2018-09-11 17:25:00 -07:00
2018-10-15 19:46:18 +02:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00
2018-09-11 17:25:00 -07:00