Paint Edit > Layer Operation > Merge All Layers
 
 
 

Merges all paint layers on the selected canvas or overlay plane and discards layer masks.