Fix #301768: Unexpected tieing behaviour
Resolves: https://musescore.org/en/node/301768. Rebased version of #5777
This commit is contained in:
parent
69fd98518a
commit
f198f8829b
1 changed files with 5 additions and 1 deletions
|
@ -1681,7 +1681,11 @@ void Score::cmdAddTie(bool addToChord)
|
|||
for (Note* note : noteList) {
|
||||
if (note->tieFor()) {
|
||||
qDebug("cmdAddTie: note %p has already tie? noteFor: %p", note, note->tieFor());
|
||||
continue;
|
||||
if (addToChord) {
|
||||
continue;
|
||||
} else {
|
||||
undoRemoveElement(note->tieFor());
|
||||
}
|
||||
}
|
||||
|
||||
if (noteEntryMode()) {
|
||||
|
|
Loading…
Reference in a new issue