Skip to content

Commit

Permalink
Maintenance: support SDK 2.35 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tyan committed Sep 9, 2024
1 parent 8931219 commit d82cfa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ModelExplorerPlugin/QtPropertiesConstruction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void qtPropertiesFromRengaParameters(

auto pDefinition = pParameter->Definition;

QString name = QString::fromStdWString(pDefinition->Name.operator wchar_t *());
auto name = QString::fromStdWString(pDefinition->Text.operator wchar_t *());

switch (pDefinition->GetParameterType())
{
Expand All @@ -60,7 +60,7 @@ void qtPropertiesFromRengaParameters(
// Try to show related entity name instead of id
// If the name is empty - show id
// TODO: show both id and name, refactoring needed
if (pParameter->GetDefinition()->GetParameterType() == Renga::ParameterType_IntID)
if (pDefinition->GetParameterType() == Renga::ParameterType_IntID)
{
auto entityName = nameGetter(id, pParameter->GetIntValue());
if (!entityName.isEmpty())
Expand Down

0 comments on commit d82cfa9

Please sign in to comment.