Transpose function not working with key change

Apr 19, 2019

I have a simple melody  in Am and the key changes in the score to A. If you use the musescore for Android function for transposing (+2) then only the A key  is changed to B key. The Am part still shows Am.