mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
undo: switch to affected dive on undo/redo of event-changes
Select and make current the affected dive. And also switch to the divecomputer that was affected. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
48b4dc9c84
commit
e39063f6df
2 changed files with 11 additions and 2 deletions
|
|
@ -29,6 +29,8 @@ protected:
|
|||
// are probably not stable.
|
||||
struct dive *d;
|
||||
int dcNr;
|
||||
private:
|
||||
void updateDive();
|
||||
};
|
||||
|
||||
class AddEventBase : public EventBase {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue