mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
fix breakage for region copy (ctrl-c) operation
git-svn-id: svn://localhost/ardour2/branches/3.0@9734 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2dd40def0b
commit
ed76a3554c
1 changed files with 4 additions and 3 deletions
|
|
@ -3519,7 +3519,6 @@ Editor::cut_copy (CutCopyOp op)
|
|||
selection->clear_points ();
|
||||
}
|
||||
}
|
||||
|
||||
commit_reversible_command ();
|
||||
break; // terminate case statement here
|
||||
}
|
||||
|
|
@ -3807,7 +3806,9 @@ Editor::cut_copy_regions (CutCopyOp op, RegionSelection& rs)
|
|||
case Copy:
|
||||
/* copy region before adding, so we're not putting same object into two different playlists */
|
||||
npl->add_region (RegionFactory::create (r), r->position() - first_position);
|
||||
case Clear:
|
||||
break;
|
||||
|
||||
case Clear:
|
||||
pl->remove_region (r);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue