mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
undo/mobile: keep track of dive sites
When editing the dive site of a dive, the dive-table of the corresponding dive site was not properly updated by the undo commands. Try to get this right. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
039ed38067
commit
69d437bc86
3 changed files with 14 additions and 4 deletions
|
@ -386,6 +386,7 @@ public:
|
|||
private:
|
||||
dive *oldDive; // Dive that is going to be overwritten
|
||||
OwningDivePtr newDive; // New data
|
||||
dive_site *newDiveSite;
|
||||
int changedFields;
|
||||
|
||||
dive_site *siteToRemove;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue