From bbbf95ee6819f2523d37cb059768313cc5d455e9 Mon Sep 17 00:00:00 2001 From: Artur Wrona Date: Tue, 13 Sep 2022 22:04:08 +0200 Subject: [PATCH] Use another method to erase item --- src/muse/operations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/muse/operations.cpp b/src/muse/operations.cpp index d24d648b0..37cb013cd 100644 --- a/src/muse/operations.cpp +++ b/src/muse/operations.cpp @@ -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: