diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-11-04 21:31:26 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-11-04 21:31:26 -0500 |
commit | 7da2689f1cbed0cedac5adbf299e1e7ccee3669e (patch) | |
tree | d00764b5807ffbf000af203b09fc1eecacd78567 /libs/ardour/midi_model.cc | |
parent | 38afa297ee2f9f86291d34002de233d9db26f4ec (diff) |
initialize MidiModel::Change::patch_id (correctlty?)
Diffstat (limited to 'libs/ardour/midi_model.cc')
-rw-r--r-- | libs/ardour/midi_model.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/midi_model.cc b/libs/ardour/midi_model.cc index 5c1f65d96b..716d511798 100644 --- a/libs/ardour/midi_model.cc +++ b/libs/ardour/midi_model.cc @@ -1018,6 +1018,7 @@ MidiModel::PatchChangeDiffCommand::change_channel (PatchChangePtr patch, uint8_t c.patch = patch; c.old_channel = patch->channel (); c.new_channel = channel; + c.patch_id = patch->id(); _changes.push_back (c); } @@ -1030,6 +1031,7 @@ MidiModel::PatchChangeDiffCommand::change_program (PatchChangePtr patch, uint8_t c.patch = patch; c.old_program = patch->program (); c.new_program = program; + c.patch_id = patch->id(); _changes.push_back (c); } |