Wrong undo visibility change for dotted note, where note and dot have different visibiilities

• Jul 23, 2016 - 00:10
Reported version
2.1
Type
Functional
Severity
S4 - Minor
Status
PR created
Project

Linux. Affects 2.0.3 and master.

1. my first score
2. "N" "." "C" "N"
3. Select dot and press "V"
4. Select note and press "V"
5. Undo

Expected: note should be visible, but dot invisible.
Result: Both note and dot are visible.

Discussion:
I think the issue is in Note::setProperty, where, for visibility, the note changes the dot's visibility too. During undo, the note still changes the dot's visibility, even when it isn't supposed to.