Staff incorrectly numbered in "Instruments" dialog
2.1 / Win 7
1. Create a new score
2. Select "Chose instruments".
3. Add a Classical guitar staff, say. Then use the "Add Staff" or "Add Unlinked Staff" button to add another staff to this one.
Expected result: The second staff line should be labelled "Staff 2".
Actual result: The second staff line is also labelled "Staff 1".
Now click "Finish," then re-open the Instruments dialogue: The staves are now correctly numbered "1" and "2".
Fix version
3.5.0
Comments
I don't have "Add Unlinked Staff" as an option, but I can confirm this.
- Extra comment; Ignore this -
#1: My mistake. Step "3" should read "Add Linked Staff."
See https://github.com/musescore/MuseScore/pull/5464.
Fixed in branch master, commit 06a09d80ed
_fix #229246: staff incorrectly numbered in "Instruments" dialog
Staff numbers are only updated (actually re-created by
genPartList()
) upon next opening of the dialog, not instantly when staffs are changed. A new functionupdatePartIdx()
does what's needed to be done._Fixed in branch master, commit 8264a51ead
_Merge pull request #5464 from Howard-C/instr-dialog-staffno
fix #229246: staff incorrectly numbered in "Instruments" dialog_
Automatically closed -- issue fixed for 2 weeks with no activity.