mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Undo: implement undo of divemaster editing
This is mostly a trivial copy of the buddies code. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
a9bd0690fe
commit
02d572226d
6 changed files with 45 additions and 13 deletions
|
@ -185,4 +185,9 @@ void editBuddies(const QVector<dive *> &dives, const QStringList &newList, struc
|
|||
execute(new EditBuddies(dives, newList, d));
|
||||
}
|
||||
|
||||
void editDiveMaster(const QVector<dive *> &dives, const QStringList &newList, struct dive *d)
|
||||
{
|
||||
execute(new EditDiveMaster(dives, newList, d));
|
||||
}
|
||||
|
||||
} // namespace Command
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue