Steps to reproduce:
- Create and open a new project
- Create a new Material and select it
- Right-click the Inspector tab and enable "Debug"
- Expand "Build Texture Stacks" list and add 10 fields (elements 0-9) (make sure the foldouts are collapsed)
- Expand the first foldout (Element 0) and enter "a" into the "Group Name" field
- Observe the header of the edited foldout
Actual results: The foldout header reads "Element 1"
Expected results: The foldout header reads "a"
Reproducible with versions: 6000.0.0f1, 6000.0.79f1, 6000.3.20f1, 6000.5.5f1, 6000.6.0b4, 6000.7.0a3
Tested on (OS): Windows 11 Pro (25H2)
Notes:
- If before step 5 any foldout in the list is expanded, collapse them delete all elements, and re-add them
- If there are no next foldout headers in the window, the header will switch to an empty string