aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp
index b61c9ab78..567e1737f 100644
--- a/desktop-widgets/tab-widgets/maintab.cpp
+++ b/desktop-widgets/tab-widgets/maintab.cpp
@@ -909,10 +909,6 @@ void MainTab::acceptChanges()
Command::shiftTime(selectedDives, (int)offset);
}
}
- if (editMode != TRIP && current_dive->divetrip) {
- current_dive->divetrip->when = current_dive->when;
- find_new_trip_start_time(current_dive->divetrip);
- }
if (editMode == MANUALLY_ADDED_DIVE) {
// we just added or edited the dive, let fixup_dive() make
// sure we get the max. depth right