From 4536996cb67625ab13eaee3c96fd47502ce2411b Mon Sep 17 00:00:00 2001 From: CYBERDEViL Date: Tue, 23 Feb 2021 01:45:36 +0100 Subject: [PATCH] Fix 'Ghost Notes aren't displayed properly after loading a project #5912' --- src/gui/editors/PianoRoll.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/editors/PianoRoll.cpp b/src/gui/editors/PianoRoll.cpp index 32df7d75a..fd71dac76 100644 --- a/src/gui/editors/PianoRoll.cpp +++ b/src/gui/editors/PianoRoll.cpp @@ -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(); }