diff options
author | Nil Geisweiller <ngeiswei@gmail.com> | 2016-09-28 23:09:46 +0300 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-10-13 12:06:38 -0400 |
commit | 651fb798187fc0aa925739e8aa078521bf14e968 (patch) | |
tree | 5cdf153804d2d4d46b11ca573cfe8224e73f48a9 /gtk2_ardour/midi_list_editor.cc | |
parent | 8098c7785f881e2fb0e4515b83ab4c59cbabb1ec (diff) |
Add region position to note start in the midi list editor
Diffstat (limited to 'gtk2_ardour/midi_list_editor.cc')
-rw-r--r-- | gtk2_ardour/midi_list_editor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_list_editor.cc b/gtk2_ardour/midi_list_editor.cc index 731f8b11da..dc9cc4a7d5 100644 --- a/gtk2_ardour/midi_list_editor.cc +++ b/gtk2_ardour/midi_list_editor.cc @@ -764,7 +764,7 @@ MidiListEditor::redisplay_model () row[columns.note] = (*i)->note(); row[columns.velocity] = (*i)->velocity(); - Timecode::BBT_Time bbt (_session->tempo_map().bbt_at_frame (conv.to ((*i)->time()))); + Timecode::BBT_Time bbt (_session->tempo_map().bbt_at_frame (region->position() + conv.to ((*i)->time()))); ss.str (""); ss << bbt; |