Remove rest in Ossia

I am using an ossia to indicate a lever a harpist has to move so it is a diamond shaped note with the accidental. Is there any way to delete the rests automatically added in the ossia bars?

You can select the note and set the ‘Ends voice’ property in the Properties panel, and choose to end the voice ‘Immediately’.

Thank you, that sounds great but unfortunately doesn’t work for me, the rest stays

It works OK for me. Can you zip up and attach the project in which you’re having the problem?