mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Desktop: Fix Undo for Gaschanges on Manually Added Dives.
Fix the undo functionality for gaschanges edited on manually added dives. Pointed-out-by: @bstoeger Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
692ec9ee5c
commit
adaa52bf9b
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue