diff --git a/src/layerelement.cpp b/src/layerelement.cpp index 8c36a8f47ea..336f79fc112 100644 --- a/src/layerelement.cpp +++ b/src/layerelement.cpp @@ -674,7 +674,7 @@ double LayerElement::GetAlignmentDuration( const Tuplet *tuplet = vrv_cast(this->GetFirstAncestor(TUPLET, MAX_TUPLET_DEPTH)); if (tuplet) { ListOfConstObjects objects; - ClassIdsComparison ids({ CHORD, NOTE, REST }); + ClassIdsComparison ids({ CHORD, NOTE, REST, SPACE }); tuplet->FindAllDescendantsByComparison(&objects, &ids); if (objects.size() > 1) { num = tuplet->GetNum();