Renaming a Named Slot widget breaks widget trees.

  1. Create a UserWidget “MyLayout”.
  2. Add named slot widgets to it to create… a layout.
  3. Create another UserWidget “MyMenu”, using MyLayout as its root widget.
  4. Add widgets to the slots on the “MyMenu” widget.
  5. Rename a named slot on “MyLayout”.
  6. Open up MyMenu and be amazed how all widgets on the slot are deleted.