diff --git a/Sources/VLSheetViewNotes.mm b/Sources/VLSheetViewNotes.mm index 23c1a9b..586a34b 100644 --- a/Sources/VLSheetViewNotes.mm +++ b/Sources/VLSheetViewNotes.mm @@ -20,7 +20,7 @@ - (void) addNoteAtCursor { - if (fCursorMeasure > -1) { + if (fCursorMeasure > -1 && fCursorActualPitch) { VLNote newNote(1, fClickMode==' ' ? fCursorActualPitch : VLNote::kNoPitch); switch (fCursorAccidental) { case kMusicFlatCursor: