[trunk] Issue w/ naturals in key sig. changes (regression)
Setup: Rev. 3536 under Windows XP w/ SP3, Qt SDK 2010.04 (Qt Creator 2.0.0, Qt lib 4.7.0)
Three different issues are listed here; I collected them together as they refer to the same entity and are probably related code-wise.
The example supplied may look rather contrived, but summarizes a scenario I am actually dealing with in a score I am working on.
1) Load the first score attached.
2) At the beginning of the second line, set a change to no-accidental key (Cmaj/Amin).
3) Save under a new name, close and re-load. The second attached score shows the final result.
A) The key set in step 2) is gone
B) The end bar line at the end of the first staff is also gone
C) After step 2), a courtesy key change is (correctly) added at the end of the first line, but no key change is added at the beginning of the second line. Among other things, this leaves nothing to click on to set key properties (for instance to turn off the courtesy key).
A) The key set in step 2) is kept
B) The end bar line is kept
C) After step 2), a single-natural key change is shown at the beginning of the second line.
Note that the first change from FMaj to Cmaj in the first line has no problems. So, the break at the end of the first line is probably involved in these issues.