Skip to content
Permalink
Browse files

Fix quantization of pasted notes

Fixes a regression caused by #4058
  • Loading branch information...
tresf committed Dec 22, 2017
1 parent c3438a1 commit 7de9649b2f2cb3c1bb80398a10fbb0363ae5ab82
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editors/PianoRoll.cpp
@@ -3757,7 +3757,7 @@ void PianoRoll::pasteNotes()
// create the note
Note cur_note;
cur_note.restoreState( list.item( i ).toElement() );
cur_note.setPos( cur_note.pos() + m_timeLine->pos() );
cur_note.setPos( cur_note.pos() + Note::quantized( m_timeLine->pos(), quantization() ) );

// select it
cur_note.setSelected( true );

0 comments on commit 7de9649

Please sign in to comment.
You can’t perform that action at this time.