Attribute view not displaying select attribute contents
When an attribute resource is first loaded, some attribute views with a single attribute don't display the attribute contents.
To duplicate in modelbuilder:
- Load the one-att.smtk file. Note there is one attribute in the "Rectangle" tab and that no items are displayed for that attribute.
- Click "New" to create a second attribute, and note that the new attribute has two items ("LowerCoord" and "UpperCoord").
- Select the original attribute and notice that the items are now displayed.
To summarize, the qtAttributeView does not display the attribute contents when there is only one attribute of this type. For reference, the attribute template is also attached one-att.sbt . This was tested on an Ubuntu 16.04 buid (gcc 5.4, Qt 5.12.4)
Error condition (attribute contents are not displayed)
Correct display (after creating second attribute)