diff options
author | David Robillard <d@drobilla.net> | 2014-12-16 14:37:40 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-18 20:23:34 -0500 |
commit | a12a065457a10d9be2582f3ad2fcee7178405981 (patch) | |
tree | e616a88d159606ffcd7150cb7e4164022f85d3eb /gtk2_ardour/midi_region_view.cc | |
parent | 026f7bf5b7bd4b28209a2fa9d421a5a73ec29dc4 (diff) |
Fix copy paste of MIDI and track automation.
Diffstat (limited to 'gtk2_ardour/midi_region_view.cc')
-rw-r--r-- | gtk2_ardour/midi_region_view.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index 18ea905ce4..787a997e7e 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -3365,8 +3365,6 @@ MidiRegionView::selection_as_cut_buffer () const bool MidiRegionView::paste (framepos_t pos, const ::Selection& selection, PasteContext& ctx) { - trackview.editor().begin_reversible_command (Operations::paste); - // Paste notes, if available MidiNoteSelection::const_iterator m = selection.midi_notes.get_nth(ctx.counts.n_notes()); if (m != selection.midi_notes.end()) { @@ -3381,8 +3379,6 @@ MidiRegionView::paste (framepos_t pos, const ::Selection& selection, PasteContex a->second->paste(pos, selection, ctx); } - trackview.editor().commit_reversible_command (); - return true; } |