Fix 'Ghost Notes aren't displayed properly after loading a project #5912'

This commit is contained in:
CYBERDEViL
2021-02-23 01:45:36 +01:00
committed by Kevin Zander
parent 760e746514
commit 4536996cb6

View File

@@ -646,6 +646,7 @@ void PianoRoll::loadGhostNotes( const QDomElement & de )
{
Note * n = new Note;
n->restoreState( node.toElement() );
n->setVolume(DefaultVolume);
m_ghostNotes.push_back( n );
node = node.nextSibling();
}