diff --git a/src/engraving/dom/noteentry.cpp b/src/engraving/dom/noteentry.cpp index ead54c0198d31..3b7c1844adf75 100644 --- a/src/engraving/dom/noteentry.cpp +++ b/src/engraving/dom/noteentry.cpp @@ -36,6 +36,7 @@ #include "part.h" #include "range.h" #include "score.h" +#include "shadownote.h" #include "slur.h" #include "staff.h" #include "stringdata.h" @@ -393,6 +394,12 @@ Ret Score::putNote(const Position& p, bool replace) m_is.setTrack(p.staffIdx * VOICES + m_is.voice()); m_is.setSegment(s); + const ShadowNote* sn = shadowNote(); + if (sn && sn->visible() && sn->drumNotePitch() > -1) { + m_is.setDrumNote(sn->drumNotePitch()); + m_is.setVoice(sn->voice()); + } + if (mu::engraving::Excerpt* excerpt = score()->excerpt()) { const TracksMap& tracks = excerpt->tracksMapping();