diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-26 19:40:24 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-26 19:40:24 -0600 |
commit | 292f998298bfb83b4f8b3f2c537cbff307cb6a22 (patch) | |
tree | 599cb751c7bf98c4b1c8e001fdfeacef686a4dc9 /gtk2_ardour/editor_selection.cc | |
parent | a699a637e44e6a4f59488868a031667d2a283c8e (diff) |
Fix bug: sequential pasting to the same time, but different tracks, would trigger paste offset.
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r-- | gtk2_ardour/editor_selection.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 95cba60704..6ee5dc0f38 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -1158,6 +1158,11 @@ Editor::presentation_info_changed (PropertyChange const & what_changed) void Editor::track_selection_changed () { +cout << "resetting paste count" << endl; + /* reset paste count, so the plaste location doesn't get incremented + * if we want to paste in the same place, but different track. */ + paste_count = 0; + if ( _session->solo_selection_active() ) play_solo_selection(false); } |