This function removes all layers that do not contain any drawing.


To remove the empty layers:

Select Layers menu > Remove empty layers