From a2be015a43b9d0de710539ee3838bb3aafe6bb2c Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 3 Mar 2019 17:10:09 +0100 Subject: Undo: consider dive site in AddDive() If a dive site was added for a new dive, remove it on undo. Signed-off-by: Berthold Stoeger --- desktop-widgets/command_divelist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop-widgets/command_divelist.h') diff --git a/desktop-widgets/command_divelist.h b/desktop-widgets/command_divelist.h index 8a70c69d3..1672c92f9 100644 --- a/desktop-widgets/command_divelist.h +++ b/desktop-widgets/command_divelist.h @@ -85,7 +85,7 @@ private: class AddDive : public DiveListBase { public: - AddDive(dive *dive, bool autogroup, bool newNumber); + AddDive(dive *dive, const QString &newDS, bool autogroup, bool newNumber); private: void undoit() override; void redoit() override; -- cgit v1.2.3-70-g09d2