Fix quantization of pasted notes

Fixes a regression caused by #4058
This commit is contained in:
tresf
2017-12-22 14:54:43 -05:00
parent c3438a1b4e
commit 7de9649b2f

View File

@@ -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 );