Skip to content

Commit

Permalink
Assign to voice according to preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
CMakeScore committed Nov 5, 2024
1 parent be5fcec commit 83f4b53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/notation/internal/notationinteraction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4676,6 +4676,10 @@ void NotationInteraction::addText(TextStyleType type, EngravingItem* item)
}
}

if (text->hasVoiceAssignmentProperties()) {
text->setInitialTrackAndVoiceAssignment(item->track(), false);
}

apply();
showItem(text);

Expand Down

0 comments on commit 83f4b53

Please sign in to comment.