[GraphEditor] Refer to an attribute's parent in its tooltip

If an attribute belongs to a `GroupAttribute` or a `ListAttribute`,
it has a parent, and its full name is "parentName.attributeName".
Instead of displaying only "attributeName" in the tooltip, this commit
now displays "parentName.attributeName" to ensure that the link is obvious.
This commit is contained in:
Candice Bentéjac 2024-09-23 19:19:36 +02:00
parent 5c7f75fd6f
commit 55ae221724
2 changed files with 4 additions and 3 deletions

View file

@ -42,7 +42,7 @@ RowLayout {
spacing: 3
ToolTip {
text: attribute.name + ": " + attribute.type
text: attribute.fullName + ": " + attribute.type
visible: nameLabel.hovered
y: nameLabel.y + nameLabel.height