diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-21 15:07:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-03-21 15:07:37 +0000 |
commit | 7874dd2b07ec38a400479e39a65e4d4c75b32394 (patch) | |
tree | 991e29069069854d34eab50af692ef3088c8ba55 /gtk2_ardour/step_entry.cc | |
parent | 3a1349bf60e1c4f42081c97ab6573eb79134fff7 (diff) |
two small fixes from melvin ray herr for the step editor
git-svn-id: svn://localhost/ardour2/branches/3.0@9171 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/step_entry.cc')
-rw-r--r-- | gtk2_ardour/step_entry.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/step_entry.cc b/gtk2_ardour/step_entry.cc index af439ea26f..0ac281b877 100644 --- a/gtk2_ardour/step_entry.cc +++ b/gtk2_ardour/step_entry.cc @@ -790,6 +790,10 @@ StepEntry::insert_grid_rest () void StepEntry::insert_note (uint8_t note) { + if (note > 127) { + return; + } + se->step_add_note (note_channel(), note, note_velocity(), note_length()); } void |