mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Fixed hang when pressing return after opening new document
This commit is contained in:
parent
86514e05a5
commit
7bfe95eaf1
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
- (void) addNoteAtCursor
|
- (void) addNoteAtCursor
|
||||||
{
|
{
|
||||||
if (fCursorMeasure > -1) {
|
if (fCursorMeasure > -1 && fCursorActualPitch) {
|
||||||
VLNote newNote(1, fClickMode==' ' ? fCursorActualPitch : VLNote::kNoPitch);
|
VLNote newNote(1, fClickMode==' ' ? fCursorActualPitch : VLNote::kNoPitch);
|
||||||
switch (fCursorAccidental) {
|
switch (fCursorAccidental) {
|
||||||
case kMusicFlatCursor:
|
case kMusicFlatCursor:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user