31ee0a2a3e
There was a mistake in 671f428ead. When the layers list is empty, the operator to add a new
layer will be missing in the "Active Layer" menu.
Pull Request: https://projects.blender.org/blender/blender/pulls/115785