mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
When adding a PC, use the channel given in the dialog.
This commit is contained in:
parent
e66ba382da
commit
05231949e6
1 changed files with 1 additions and 1 deletions
|
|
@ -2089,7 +2089,7 @@ MidiRegionView::add_patch_change (framecnt_t t, Evoral::PatchChange<Evoral::Beat
|
||||||
c->add (MidiModel::PatchChangePtr (
|
c->add (MidiModel::PatchChangePtr (
|
||||||
new Evoral::PatchChange<Evoral::Beats> (
|
new Evoral::PatchChange<Evoral::Beats> (
|
||||||
absolute_frames_to_source_beats (_region->position() + t),
|
absolute_frames_to_source_beats (_region->position() + t),
|
||||||
mtv->get_channel_for_add(), patch.program(), patch.bank()
|
patch.channel(), patch.program(), patch.bank()
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue