Update patterns in song editor after shifting their notes by semitones in piano roll. (#3961)
After shifting notes up/down, call rearrangeAllNotes() to sort notes and dataChanged() to update the pattern the Song Editor.
This commit is contained in:
committed by
Oskar Wallgren
parent
d4d909cd9e
commit
43ae3c6376
@@ -963,6 +963,9 @@ void PianoRoll::shiftSemiTone( int amount ) // shift notes by amount semitones
|
||||
}
|
||||
}
|
||||
|
||||
m_pattern->rearrangeAllNotes();
|
||||
m_pattern->dataChanged();
|
||||
|
||||
// we modified the song
|
||||
update();
|
||||
gui->songEditor()->update();
|
||||
|
||||
Reference in New Issue
Block a user