GrandOrgue / grandorgue

GrandOrgue software
Other
148 stars 39 forks source link

Fixed ignoring initial midi setup when loading an organ with a preset without midi events configured https://github.com/GrandOrgue/grandorgue/issues/1785 #1865

Closed oleg68 closed 2 months ago

oleg68 commented 2 months ago

Resolves: #1785

Earlier: initial midi settings were not used when loading a preset .cmb file. Now: if some element doesn't have any midi events configured in the preset, it uses the midi events from the initial midi config.

When the user saves the preset, these midi events are also saved. So if the user changes the initial midi config, it does not affect the events have already been saved to the preset.

oleg68 commented 2 months ago

@rousseldenis could you approve this PR?