summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/command_edit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/command_edit.cpp')
-rw-r--r--desktop-widgets/command_edit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop-widgets/command_edit.cpp b/desktop-widgets/command_edit.cpp
index 106670978..a1e4de358 100644
--- a/desktop-widgets/command_edit.cpp
+++ b/desktop-widgets/command_edit.cpp
@@ -760,6 +760,10 @@ void PasteDives::undo()
emit diveListNotifier.divesChanged(trip, divesInTrip, DiveField::DIVESITE);
if (what.tags)
emit diveListNotifier.divesChanged(trip, divesInTrip, DiveField::TAGS);
+ if (what.cylinders)
+ emit diveListNotifier.cylindersReset(trip, divesInTrip);
+ if (what.weights)
+ emit diveListNotifier.weightsystemsReset(trip, divesInTrip);
});
if (diveSiteListChanged)