Actual tempo doesn't revert when undoing an edit on a tempo text
After editing the tempo text to change tempo and then undoing, the text reverts back but the actual tempo still remains as once edited, even though the inspector says the tempo follows the text.
Also, if the editing is the first operation after a saving, the asterisk following the file name in the tab disappears though the actual tempo differs from the saved version.
Found on 22.214.171.124/El Capitan, and mike320 reproduced on 2.1/Win.
I firstly reported this bug in https://musescore.org/en/node/174256. Followings are steps to reproduce it, almost copied from the thread.
1. Create a new blank file in 4/4 and add a tempo text, say, quarter note = 120, on the first measure. Make sure the actual tempo follows the text in the inspector. Now, this score is played at 120 BPM.
2. Save this score with whatever name.
3. Double click the tempo text and rewrite the tempo, say, to 100 BPM. Now, of course, this score is played at 100 BPM. It's completely normal up to now.
4. Press Ctrl(Cmd)+Z to undo. Even though the tempo is set to follow the text, only the text reverts to 120 and the actual tempo still remains 100. Additionally, the asterisk, which indicates the file is unsaved, following the file name in the tab disappears.
5. Press Ctrl+S to save, then close, and reopen this file. The contradiction still remains: the text says 120 BPM, the actual tempo is 100 BPM, and the inspector says the tempo follows the text.