mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add "merge selected dives" to dive list popup menu
This is fairly straight forward. What I dislike is the check for the magic number of "14 indeces". I'm sure there's a better way to tell if more than one dive is selected... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c6140c6e21
commit
be418458db
4 changed files with 30 additions and 9 deletions
|
@ -43,7 +43,7 @@ extern dive_trip_t *find_matching_trip(timestamp_t when);
|
|||
extern void remove_dive_from_trip(struct dive *dive);
|
||||
extern dive_trip_t *create_and_hookup_trip_from_dive(struct dive *dive);
|
||||
extern void autogroup_dives(void);
|
||||
extern void merge_dive_index(int i, struct dive *a);
|
||||
extern struct dive *merge_two_dives(struct dive *a, struct dive *b);
|
||||
extern void select_dive(int idx);
|
||||
extern void deselect_dive(int idx);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue