1. Select one or more rests — or even just make a selection that includes the rests you want to remove.
  2. Choose Edit > Remove Rests.