Bar rests not restored to former position after Undo Exchange Voices

• Nov 6, 2012 - 00:19
Type
Functional
Severity
S4 - Minor
Status
closed
Project

1. Open attached score (taken from here and edited).
2. Select first bar.
3. 'Exchange Voices 1-2'.
4. 'Undo'.

Result: The bar rest isn't restored to its former position.

Using MuseScore 2.0 Nightly Build (f3e542b) - Mac 10.7.5.


Comments

Also stem directions. Cause is failure to reset the hasVoices property of the mstaff on undo. Possible fixes would be to save/restore it on redo/undo, or call checkMultiVoices on undo.