mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Undo: implement ReplanDive command
Implement an undo command that overwrites the dive-computers and cylinders of the current dive with a given dive. This will be used when replanning a dive. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
6a6b992a77
commit
7b730602c6
4 changed files with 96 additions and 1 deletions
|
@ -75,6 +75,7 @@ int editTags(const QStringList &newList, bool currentDiveOnly);
|
|||
int editBuddies(const QStringList &newList, bool currentDiveOnly);
|
||||
int editDiveMaster(const QStringList &newList, bool currentDiveOnly);
|
||||
void pasteDives(const dive *d, dive_components what);
|
||||
void replanDive(dive *d); // dive computer(s) and cylinder(s) will be reset!
|
||||
|
||||
// 5) Trip editing commands
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue