diff --git a/desktop-widgets/profilewidget.cpp b/desktop-widgets/profilewidget.cpp index f4763cc90..ce12b6e55 100644 --- a/desktop-widgets/profilewidget.cpp +++ b/desktop-widgets/profilewidget.cpp @@ -392,8 +392,6 @@ void ProfileWidget::stopEdited() if (!editedDive) return; - copy_events(get_dive_dc(editedDive.get(), dc), get_dive_dc(d, dc)); - Setter s(placingCommand, true); Command::editProfile(editedDive.get(), dc, Command::EditProfileType::EDIT, 0); }