update playlist after tremolo copy/paste
This commit is contained in:
parent
67e54ad082
commit
3b22424ac9
3 changed files with 8 additions and 6 deletions
|
@ -2974,7 +2974,7 @@ TremoloChordType Chord::tremoloChordType() const
|
|||
else if (_tremolo->chord2() == this)
|
||||
return TremoloChordType::TremoloSecondNote;
|
||||
else
|
||||
qDebug("Chord::tremoloChordType(): inconsistency");
|
||||
qDebug("Chord::tremoloChordType(): inconsistency %p - %p", _tremolo->chord1(), _tremolo->chord2());
|
||||
}
|
||||
}
|
||||
return TremoloChordType::TremoloSingle;
|
||||
|
|
|
@ -126,10 +126,10 @@ void Score::endCmd(bool rollback)
|
|||
const InputState& is = s->inputState();
|
||||
if (is.noteEntryMode() && is.segment())
|
||||
s->setPlayPos(is.segment()->tick());
|
||||
if (_playlistDirty) {
|
||||
emit playlistChanged();
|
||||
_playlistDirty = false;
|
||||
}
|
||||
}
|
||||
if (_playlistDirty) {
|
||||
emit playlistChanged();
|
||||
_playlistDirty = false;
|
||||
}
|
||||
|
||||
if (MScore::debugMode)
|
||||
|
|
|
@ -1439,7 +1439,9 @@ void Score::addElement(Element* element)
|
|||
break;
|
||||
|
||||
case Element::Type::CHORD:
|
||||
createPlayEvents(static_cast<Chord*>(element));
|
||||
setPlaylistDirty(true);
|
||||
// create playlist does not work here bc. tremolos may not be complete
|
||||
// createPlayEvents(static_cast<Chord*>(element));
|
||||
break;
|
||||
|
||||
case Element::Type::NOTE: {
|
||||
|
|
Loading…
Reference in a new issue