Click the text layer.

Click the "Add text layers" button. 

This converts the text layer into a mask layer (don't worry it can still be edited)