mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/trip-handling: add helper to add dive to a trip
This again uses an undo command and should be completely symmetrical to removing a dive from a trip. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ccf5bf6445
commit
a4043401c9
2 changed files with 19 additions and 0 deletions
|
@ -178,6 +178,7 @@ public slots:
|
|||
QString diveMaster, QString weight, QString notes, QStringList startpressure,
|
||||
QStringList endpressure, QStringList gasmix, QStringList usedCylinder, int rating, int visibility, QString state);
|
||||
void removeDiveFromTrip(int id);
|
||||
void addDiveToTrip(int id, int tripId);
|
||||
void changesNeedSaving();
|
||||
void openNoCloudRepo();
|
||||
void saveChangesLocal();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue