Don't clear the clipboard when deleting things
Deleting regions (or ranges, or anything) shouldn't affect the contents of the clipboard - only CutCopyOp::Copy, CutCopyOp::Cut and CutCopyOp::Clear should do that.
This commit is contained in:
parent
99c0ef21d7
commit
46fa5c9397
|
@ -3784,7 +3784,7 @@ Editor::can_cut_copy () const
|
|||
|
||||
|
||||
/** Cut, copy or clear selected regions, automation points or a time range.
|
||||
* @param op Operation (Cut, Copy or Clear)
|
||||
* @param op Operation (Delete, Cut, Copy or Clear)
|
||||
*/
|
||||
void
|
||||
Editor::cut_copy (CutCopyOp op)
|
||||
|
@ -3820,7 +3820,7 @@ Editor::cut_copy (CutCopyOp op)
|
|||
}
|
||||
}
|
||||
|
||||
if ( op != Clear ) //"Delete" doesn't change copy/paste buf
|
||||
if ( op != Delete ) //"Delete" doesn't change copy/paste buf
|
||||
cut_buffer->clear ();
|
||||
|
||||
if (entered_marker) {
|
||||
|
|
Loading…
Reference in New Issue