fix #17521: Replacing arpeggio and undo removes it completely
This commit is contained in:
parent
a0dc9ae572
commit
0a19f78813
1 changed files with 2 additions and 0 deletions
|
@ -1755,6 +1755,8 @@ Element* Chord::drop(const DropData& data)
|
|||
case ARPEGGIO:
|
||||
{
|
||||
Arpeggio* a = static_cast<Arpeggio*>(e);
|
||||
if (arpeggio())
|
||||
score()->undoRemoveElement(arpeggio());
|
||||
a->setTrack(track());
|
||||
a->setParent(this);
|
||||
a->setHeight(spatium() * 5); //DEBUG
|
||||
|
|
Loading…
Reference in a new issue