choose a snap/ quantize value of the duration of the note u need. or just select all the notes, right click and then choose funtions, now at the top of the list u can find legato!

Z