Skip to content

Commit

Permalink
#5813: EntityInspector is using IEntityClass::getAttributeType() now,…
Browse files Browse the repository at this point in the history
… this fixes the problem of wrong icons being shown when the corresponding editor_ descriptor is defined on the base.
  • Loading branch information
codereader committed Nov 21, 2021
1 parent e3822ec commit 6d4157f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radiant/ui/einspector/EntityInspector.cpp
Expand Up @@ -1528,7 +1528,7 @@ std::string EntityInspector::getPropertyTypeForKey(const std::string& key)
// Query each eclass for the key type, pick the first one
for (const auto& eclass : selectedEclasses)
{
const auto& keyType = eclass->getAttribute(key, true).getType();
const auto& keyType = eclass->getAttributeType(key);

if (!keyType.empty())
{
Expand Down

0 comments on commit 6d4157f

Please sign in to comment.