AMNS / Nightingale

Nightingale music notation software.
Mozilla Public License 2.0
11 stars 3 forks source link

Clear System doesn't update the Document's currentSystem #184

Closed donbyrd closed 3 years ago

donbyrd commented 3 years ago

The Clear System command doesn't update the Document's currentSystem, so it may be left with an illegal value. If so and the file is then saved, trying to open it again results in an error message and Nightingale won't open it. Compare the code to that for the Clear Page command, which does update doc->currentSystem.

donbyrd commented 3 years ago

An easy fix, though the code to update various things in several functions in SysPageEdit.c should really be moved to a function of its own.