Skip to content

Commit

Permalink
Use another method to erase item
Browse files Browse the repository at this point in the history
  • Loading branch information
donarturo11 committed Sep 13, 2022
1 parent b887a87 commit bbbf95e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/muse/operations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@ SongChangedStruct_t PendingOperationItem::executeRTStage()
case DeleteMidiCtrlVal:
DEBUG_OPERATIONS(stderr, "PendingOperationItem::executeRTStage DeleteMidiCtrlVal: mcvl:%p tick:%u part:%p val:%d\n",
_mcvl, _imcv->first, _imcv->second.part, _imcv->second.val);
_mcvl->erase(_imcv);
_mcvl->delMCtlVal(_imcv->first, _imcv->second.part, _imcv->second.val);
// No song changed flags are required to be set here.
break;
case ModifyMidiCtrlVal:
Expand Down

0 comments on commit bbbf95e

Please sign in to comment.