1d56d5564b
Resolves: https://musescore.org/en/node/281253 A staff spacer on the bottom system of a page does not work correctly: we are looking foir a spacer on the *first* staff rather than the *last*. So a spacer on the last staff is ignored, and one on the first is used when it shouldn't be. The code to calculate the amount of spacer required below the last system of a page relies on System::lastVisibleSysStaff(), which is return the correct SysStaff, but we are then attempting to access the idx member, which has never been set up and is always 0. Fix is to initialize idx when setting up the list of staves.
15 KiB
512x614px
15 KiB
512x614px