If you delete a global layer in a layout where the global layer is not defined, a popup warning is given. The warning asks you to confirm that you want to delete all of the objects on the layer when the layer is just a representation of the global layer (that is defined elsewhere) and deletion of the layer will not affect the global layer.
Attach a Capx
Description of Capx
Steps to Reproduce Bug
- Open blank project, duplicate Layout1 and add a layer to the new Layout2.
- Set Layer0 to be a global layer in Layout1, then add a sprite to the layer.
- Delete Layer0 in Layout2 and observe.
No popup warning because the global layer is not being affected.
Operating System and Service Pack
Construct 2 Version ID
r241 64 bit