How to delete material slots from static mesh?

Thanks, it seems like a bug that it doesn’t work right away. I’ll try this workaround soon, cheers!