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:
Paul Davis 2011-06-14 23:01:00 +00:00
parent 2dd40def0b
commit ed76a3554c
1 changed files with 4 additions and 3 deletions

View File

@ -3519,7 +3519,6 @@ Editor::cut_copy (CutCopyOp op)
selection->clear_points ();
}
}
commit_reversible_command ();
break; // terminate case statement here
}
@ -3807,8 +3806,10 @@ 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:
pl->remove_region (r);
break;
case Clear:
pl->remove_region (r);
break;
}