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:
Hussam Eddin Alhomsi
2017-11-09 18:27:01 +03:00
committed by Oskar Wallgren
parent d4d909cd9e
commit 43ae3c6376

View File

@@ -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();