mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
Chord deletion is a song change
This commit is contained in:
parent
ca9592111c
commit
9ca99f9e7e
|
@ -120,7 +120,9 @@ std::string NormalizeName(NSString* rawName)
|
||||||
{
|
{
|
||||||
std::string chordName = NormalizeName(val);
|
std::string chordName = NormalizeName(val);
|
||||||
if (!chordName.size()) {
|
if (!chordName.size()) {
|
||||||
|
[[fView document] willChangeSong];
|
||||||
fSong->DelChord(fMeasure, fAt);
|
fSong->DelChord(fMeasure, fAt);
|
||||||
|
[[fView document] didChangeSong];
|
||||||
} else {
|
} else {
|
||||||
VLChord chord(chordName);
|
VLChord chord(chordName);
|
||||||
VLSoundOut::Instance()->PlayChord(chord);
|
VLSoundOut::Instance()->PlayChord(chord);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user