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.
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.