diff --git a/Sources/VLSheetViewChords.mm b/Sources/VLSheetViewChords.mm index 966c0de..12f5930 100644 --- a/Sources/VLSheetViewChords.mm +++ b/Sources/VLSheetViewChords.mm @@ -120,7 +120,9 @@ std::string NormalizeName(NSString* rawName) { std::string chordName = NormalizeName(val); if (!chordName.size()) { + [[fView document] willChangeSong]; fSong->DelChord(fMeasure, fAt); + [[fView document] didChangeSong]; } else { VLChord chord(chordName); VLSoundOut::Instance()->PlayChord(chord);