Add "add dive(s) to trip above" feature

This honors the sort order of the dive list when figuring which trip is
"above". It works both on a single dive or all selected dives.

This also fixes a couple other cases where the dive list selection and
trip display could get messed up.

Fixes #287

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-11-17 15:36:57 -08:00
parent 7a6ff7a53c
commit a2d6bd5c1d
2 changed files with 53 additions and 1 deletions

View file

@ -43,6 +43,7 @@ public slots:
void mergeTripAbove();
void mergeTripBelow();
void newTripAbove();
void addToTripAbove();
void mergeDives();
void saveSelectedDivesAs();
void exportSelectedDivesAsUDDF();