diff options
Diffstat (limited to 'desktop-widgets/command_divelist.h')
-rw-r--r-- | desktop-widgets/command_divelist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/command_divelist.h b/desktop-widgets/command_divelist.h index 7de168e9a..152c7365b 100644 --- a/desktop-widgets/command_divelist.h +++ b/desktop-widgets/command_divelist.h @@ -244,7 +244,7 @@ class DiveComputerBase : public DiveListBase { protected: // old_dive must be a dive known to the core. // new_dive must be new dive whose ownership is taken. - DiveComputerBase(dive *old_dive, dive *new_dive); + DiveComputerBase(dive *old_dive, dive *new_dive, int dc_nr_after); private: void undoit() override; void redoit() override; @@ -254,6 +254,7 @@ protected: // For redo and undo DivesAndTripsToAdd diveToAdd; DivesAndSitesToRemove diveToRemove; + int dc_nr_before, dc_nr_after; }; class MoveDiveComputerToFront : public DiveComputerBase { |