fix #34721
This commit is contained in:
parent
1c3de28a5e
commit
9910ad73ff
1 changed files with 1 additions and 3 deletions
|
@ -308,9 +308,7 @@ void MuseScore::editInstrList()
|
|||
sli->setStaff(staff);
|
||||
staff->setDefaultClefType(sli->defaultClefType());
|
||||
|
||||
// rootScore->undoInsertStaff(staff, rstaff);
|
||||
|
||||
Key nKey = part->staff(0)->key(0);
|
||||
Key nKey = part->staves()->empty() ? Key::C : part->staff(0)->key(0);
|
||||
staff->setKey(0, nKey);
|
||||
|
||||
rootScore->undoInsertStaff(staff, rstaff, !sli->linked());
|
||||
|
|
Loading…
Reference in a new issue