From c3761596e59a5fa08f10c42d93e6cf3c16c30531 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sat, 24 Sep 2011 22:20:43 +0200 Subject: [PATCH] Be silent on pause insertion --- Sources/VLSheetViewNotes.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/VLSheetViewNotes.mm b/Sources/VLSheetViewNotes.mm index 730a0fa..ca3e2d5 100644 --- a/Sources/VLSheetViewNotes.mm +++ b/Sources/VLSheetViewNotes.mm @@ -35,7 +35,8 @@ [self song]->Properties(fCursorLocation.fMeasure).fKey); VLNote newNote(1, pitch, fCursorVisual & ~kCursorFlagsMask); [self song]->AddNote(VLLyricsNote(newNote), fCursorLocation); - VLSoundOut::Instance()->PlayNote(newNote); + if (pitch != VLNote::kNoPitch) + VLSoundOut::Instance()->PlayNote(newNote); } fClickMode = ' '; [[self document] didChangeSong];