mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00: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()));
|
||||
} else
|
||||
{
|
||||
label->clear();
|
||||
label->setText(v.toString());
|
||||
if (QVariant::String == v.type())
|
||||
{
|
||||
label->setText(v.toString());
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue