Skip to content

Commit c949ed2

Browse files
committed
Don't remove partial tie twice
1 parent 09e6b5d commit c949ed2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/notation/view/internal/partialtiepopupmodel.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,9 @@ void mu::notation::PartialTiePopupModel::onClosed()
179179
return;
180180
}
181181

182-
if (tieItem->allJumpPointsInactive()) {
182+
Note* startNote = tieItem->startNote();
183+
184+
if (tieItem->allJumpPointsInactive() && startNote && startNote->tieFor() == tieItem) {
183185
Score* score = tieItem->score();
184186
beginCommand(TranslatableString("engraving", "Remove partial tie"));
185187
score->undoRemoveElement(tieItem);

0 commit comments

Comments
 (0)