Skip to content

Commit

Permalink
Audio controller 'midi assign': Fixed cannot assign to song.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim committed Sep 30, 2024
1 parent 6356b20 commit 74f6477
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
30.09.2024
- Track list context menu audio controller 'midi assign': Fixed cannot assign to song.
Oops, broken at 10.07.2022
13.05.2024
- Added instrument file for the Roland INTEGRA-7 sound module, made by Cookston (rj)
26.04.2024
Expand Down
5 changes: 3 additions & 2 deletions src/muse/arranger/tlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1816,9 +1816,10 @@ void TList::changeAutomationColor(QAction* act)
for(MusECore::iAudioMidiCtrlStructMap iamcs = amcs_full.begin(); iamcs != amcs_full.end(); ++iamcs)
macm->erase(*iamcs);

// Add will not replace if found.
// Add will not replace if found.
macm->add_ctrl_struct(port, chan, ctrl,
MusECore::MidiAudioCtrlStruct(MusECore::MidiAudioCtrlStruct::AudioControl, id, editAutomation));
MusECore::MidiAudioCtrlStruct(
MusECore::MidiAudioCtrlStruct::AudioControl, id, isSongAssign ? nullptr : editAutomation));

MusEGlobal::audio->msgIdle(false);
}
Expand Down

0 comments on commit 74f6477

Please sign in to comment.