From 83f4b53c44f2358a67c59bcaacc25425449e0a25 Mon Sep 17 00:00:00 2001 From: CMakeScore <185574671+CMakeScore@users.noreply.github.com> Date: Tue, 5 Nov 2024 23:43:53 +0900 Subject: [PATCH] Assign to voice according to preferences --- src/notation/internal/notationinteraction.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/notation/internal/notationinteraction.cpp b/src/notation/internal/notationinteraction.cpp index 7437b5da0efea..c49bc3a0a61cc 100644 --- a/src/notation/internal/notationinteraction.cpp +++ b/src/notation/internal/notationinteraction.cpp @@ -4676,6 +4676,10 @@ void NotationInteraction::addText(TextStyleType type, EngravingItem* item) } } + if (text->hasVoiceAssignmentProperties()) { + text->setInitialTrackAndVoiceAssignment(item->track(), false); + } + apply(); showItem(text);