In Adobe XD, when you create a shape and then double-click on it in the Layers sidebar, you convert it to a path. Once converted to a path it cannot be reverted back to a shape, since Adobe XD doesn't know the shape of this path.
When I'm trying to select a layer that's in many nested folders I accidentally convert shapes to paths and don't notice that. Then when I go back to editing the shape (that was already converted to path) I can't just CTRL + Z at that point.
How can I disable this feature?