Update clip length after clearing all notes (#7960)
When clearing notes from a long melody clip in pattern editor, it looks like the clip becomes short, but it actually remains the same length (despite empty), and that affects the length of the whole pattern. This PR fixes this issue.
This commit is contained in:
@@ -288,6 +288,7 @@ void MidiClip::clearNotes()
|
||||
instrumentTrack()->unlock();
|
||||
|
||||
checkType();
|
||||
updateLength();
|
||||
emit dataChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user