mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-12 13:37:08 +03:00
additional check
This commit is contained in:
parent
f4614c2c63
commit
17b521cec8
1 changed files with 4 additions and 2 deletions
|
@ -113,8 +113,10 @@ void CSVWorld::DialogueDelegateDispatcher::setEditorData (QWidget* editor, const
|
||||||
label->setText(QString::fromUtf8(enumNames.at(data).c_str()));
|
label->setText(QString::fromUtf8(enumNames.at(data).c_str()));
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
label->clear();
|
if (QVariant::String == v.type())
|
||||||
label->setText(v.toString());
|
{
|
||||||
|
label->setText(v.toString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue